mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
shared/bootloader/misc.c: Fix printf() format warnings
This commit is contained in:
1 parent
1b24a9b827
commit
79d45cbd7b
1 file changed
+3
-2
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user