Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2019 02:19:25 +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-11@freebsd.org
Subject:   svn commit: r346727 - stable/11/usr.sbin/acpi/acpidump
Message-ID:  <201904260219.x3Q2JPdE033065@repo.freebsd.org>

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

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

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

Modified: stable/11/usr.sbin/acpi/acpidump/acpi.c
==============================================================================
--- stable/11/usr.sbin/acpi/acpidump/acpi.c	Fri Apr 26 02:16:57 2019	(r346726)
+++ stable/11/usr.sbin/acpi/acpidump/acpi.c	Fri Apr 26 02:19:25 2019	(r346727)
@@ -868,7 +868,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?201904260219.x3Q2JPdE033065>