forked from Imagelibrary/rtems
shared/bootloader/misc.c: Fix printf() format warnings
This commit is contained in:
@@ -286,14 +286,15 @@ setup_hw(void)
|
|||||||
"Processor/Bus frequencies (Hz): %ld/%ld\n"
|
"Processor/Bus frequencies (Hz): %ld/%ld\n"
|
||||||
"Time Base Divisor: %ld\n"
|
"Time Base Divisor: %ld\n"
|
||||||
"Memory Size: %lx\n"
|
"Memory Size: %lx\n"
|
||||||
"Residual: %lx (length %u)\n",
|
"Residual: %lx (length %lu)\n",
|
||||||
vpd.PrintableModel,
|
vpd.PrintableModel,
|
||||||
vpd.Serial,
|
vpd.Serial,
|
||||||
vpd.ProcessorHz,
|
vpd.ProcessorHz,
|
||||||
vpd.ProcessorBusHz,
|
vpd.ProcessorBusHz,
|
||||||
(vpd.TimeBaseDivisor ? vpd.TimeBaseDivisor : 4000),
|
(vpd.TimeBaseDivisor ? vpd.TimeBaseDivisor : 4000),
|
||||||
res->TotalMemory,
|
res->TotalMemory,
|
||||||
(unsigned long)res, res->ResidualLength);
|
(unsigned long)res,
|
||||||
|
res->ResidualLength);
|
||||||
|
|
||||||
/* This reconfigures all the PCI subsystem */
|
/* This reconfigures all the PCI subsystem */
|
||||||
pci_init();
|
pci_init();
|
||||||
|
|||||||
Reference in New Issue
Block a user