[rtems commit] gen5200/mscan/mscan.c: Fix printf() format warning
Joel Sherrill
joel at rtems.org
Fri Oct 19 18:03:55 UTC 2018
Module: rtems
Branch: master
Commit: 156b77a0641b5ca82029325574122f629d2dabff
Changeset: http://git.rtems.org/rtems/commit/?id=156b77a0641b5ca82029325574122f629d2dabff
Author: Joel Sherrill <joel at rtems.org>
Date: Tue Sep 4 08:35:07 2018 -0500
gen5200/mscan/mscan.c: Fix printf() format warning
---
bsps/powerpc/gen5200/mscan/mscan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bsps/powerpc/gen5200/mscan/mscan.c b/bsps/powerpc/gen5200/mscan/mscan.c
index e36b622..ef1809e 100644
--- a/bsps/powerpc/gen5200/mscan/mscan.c
+++ b/bsps/powerpc/gen5200/mscan/mscan.c
@@ -748,7 +748,7 @@ rtems_status_code mscan_channel_initialize(rtems_device_major_number major,
/* Set up interrupts */
if (!BSP_install_rtems_irq_handler(&(mpc5200_mscan_irq_data[minor])))
- rtems_panic("Can't attach MPC5x00 MSCAN interrupt handler %d\n", minor);
+ rtems_panic("Can't attach MPC5x00 MSCAN interrupt handler %ld\n", minor);
/* basic setup for channel info. struct. */
chan->regs = (mscan *) &(mpc5200.mscan[minor]);
More information about the vc
mailing list