[PATCH 07/15] libchip/shmdr/dump.c: Fix printf() format warnings.

Joel Sherrill joel at rtems.org
Mon Oct 3 22:58:04 UTC 2016


---
 c/src/libchip/shmdr/dump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/libchip/shmdr/dump.c b/c/src/libchip/shmdr/dump.c
index f1be932..8924396 100644
--- a/c/src/libchip/shmdr/dump.c
+++ b/c/src/libchip/shmdr/dump.c
@@ -47,5 +47,5 @@ Shm_Print_statistics(void)
   printk( "ISRs=%" PRId32 "\n",     Shm_Interrupt_count );
   printk( "RECV=%" PRId32 "\n",     Shm_Receive_message_count );
   printk( "NULL=%" PRId32 "\n",     Shm_Null_message_count );
-  printk( "PKTS/SEC=%" PRId32 "\n", packets_per_second );
+  printk( "PKTS/SEC=%d\n", packets_per_second );
 }
-- 
1.8.3.1




More information about the devel mailing list