From 79d45cbd7b63a5ef7b2b46b8de10dfa5dbfa8899 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 23 Apr 2017 20:05:03 -0500 Subject: shared/bootloader/misc.c: Fix printf() format warnings --- c/src/lib/libbsp/powerpc/shared/bootloader/misc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/c/src/lib/libbsp/powerpc/shared/bootloader/misc.c b/c/src/lib/libbsp/powerpc/shared/bootloader/misc.c index 8bdea71632..111e02bd9e 100644 --- a/c/src/lib/libbsp/powerpc/shared/bootloader/misc.c +++ b/c/src/lib/libbsp/powerpc/shared/bootloader/misc.c @@ -286,14 +286,15 @@ setup_hw(void) "Processor/Bus frequencies (Hz): %ld/%ld\n" "Time Base Divisor: %ld\n" "Memory Size: %lx\n" - "Residual: %lx (length %u)\n", + "Residual: %lx (length %lu)\n", vpd.PrintableModel, vpd.Serial, vpd.ProcessorHz, vpd.ProcessorBusHz, (vpd.TimeBaseDivisor ? vpd.TimeBaseDivisor : 4000), res->TotalMemory, - (unsigned long)res, res->ResidualLength); + (unsigned long)res, + res->ResidualLength); /* This reconfigures all the PCI subsystem */ pci_init(); -- cgit v1.2.3