svn commit: r346726 - stable/12/usr.sbin/acpi/acpidump
Marcin Wojtas
mw at FreeBSD.org
Fri Apr 26 02:16:58 UTC 2019
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);
}
More information about the svn-src-stable-12
mailing list