diff options
author | peter <peter@FreeBSD.org> | 2002-07-20 03:44:01 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-07-20 03:44:01 +0000 |
commit | 084cc2c622b3b8b4028a02732ddcd16a0beac5ab (patch) | |
tree | 4767311d46f1000db06590d84171919926040d62 /sys/boot/efi/loader | |
parent | c93c6004b25b975051ca29dacc68b54ce952cebd (diff) | |
download | FreeBSD-src-084cc2c622b3b8b4028a02732ddcd16a0beac5ab.zip FreeBSD-src-084cc2c622b3b8b4028a02732ddcd16a0beac5ab.tar.gz |
Fix printf format errors
Diffstat (limited to 'sys/boot/efi/loader')
-rw-r--r-- | sys/boot/efi/loader/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/efi/loader/main.c b/sys/boot/efi/loader/main.c index 553b7fc..cedf3f5 100644 --- a/sys/boot/efi/loader/main.c +++ b/sys/boot/efi/loader/main.c @@ -292,7 +292,7 @@ command_configuration(int argc, char *argv[]) { int i; - printf("NumberOfTableEntries=%d\n", ST->NumberOfTableEntries); + printf("NumberOfTableEntries=%ld\n", ST->NumberOfTableEntries); for (i = 0; i < ST->NumberOfTableEntries; i++) { static EFI_GUID mps = MPS_TABLE_GUID; static EFI_GUID acpi = ACPI_TABLE_GUID; @@ -450,7 +450,7 @@ print_trs(int type) if (!(res.pal_result[0] & 8)) buf.pte.pte_ma = 0; sprintf(lbuf, - "%d %06x %013x %013x %4s %d %d %d %d %d %-3s %d %06x\n", + "%d %06x %013lx %013lx %4s %d %d %d %d %d %-3s %d %06x\n", buf.ifa.ifa_ig & 1, buf.rr.rr_rid, buf.ifa.ifa_vpn, |