Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2019 02:16:57 +0000 (UTC)
From:      Marcin Wojtas <mw@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r346726 - stable/12/usr.sbin/acpi/acpidump
Message-ID:  <201904260216.x3Q2Gv71032917@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mw
Date: Fri Apr 26 02:16:57 2019
New Revision: 346726
URL: https://svnweb.freebsd.org/changeset/base/346726

Log:
  MFC r343455: Fix tpm2 acpidump compilation on 32-bit

Modified:
  stable/12/usr.sbin/acpi/acpidump/acpi.c

Modified: stable/12/usr.sbin/acpi/acpidump/acpi.c
==============================================================================
--- stable/12/usr.sbin/acpi/acpidump/acpi.c	Fri Apr 26 01:58:36 2019	(r346725)
+++ stable/12/usr.sbin/acpi/acpidump/acpi.c	Fri Apr 26 02:16:57 2019	(r346726)
@@ -977,7 +977,7 @@ static void acpi_handle_tpm2(ACPI_TABLE_HEADER *sdp)
 	printf (BEGIN_COMMENT);
 	acpi_print_sdt(sdp);
 	tpm2 = (ACPI_TABLE_TPM2 *) sdp;
-	printf ("\t\tControlArea=%lx\n", tpm2->ControlAddress);
+	printf ("\t\tControlArea=%jx\n", tpm2->ControlAddress);
 	printf ("\t\tStartMethod=%x\n", tpm2->StartMethod);	
 	printf (END_COMMENT);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904260216.x3Q2Gv71032917>