[rtems commit] shell: Fix format specifiers

Sebastian Huber sebh at rtems.org
Tue May 2 06:06:47 UTC 2017


Module:    rtems
Branch:    master
Commit:    6b42018eb64aeba8be5b8b6857e384d8c167e29c
Changeset: http://git.rtems.org/rtems/commit/?id=6b42018eb64aeba8be5b8b6857e384d8c167e29c

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue May  2 08:06:12 2017 +0200

shell: Fix format specifiers

---

 cpukit/libmisc/shell/print_heapinfo.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cpukit/libmisc/shell/print_heapinfo.c b/cpukit/libmisc/shell/print_heapinfo.c
index f99f0a9..719f711 100644
--- a/cpukit/libmisc/shell/print_heapinfo.c
+++ b/cpukit/libmisc/shell/print_heapinfo.c
@@ -24,9 +24,9 @@ void rtems_shell_print_heap_info(
 )
 {
   printf(
-    "Number of %s blocks:                    %12" PRId32 "\n"
-    "Largest %s block:                       %12" PRId32 "\n"
-    "Total bytes %s:                         %12" PRId32 "\n",
+    "Number of %s blocks:                    %12" PRIu32 "\n"
+    "Largest %s block:                       %12" PRIu32 "\n"
+    "Total bytes %s:                         %12" PRIu32 "\n",
     c, h->number,
     c, h->largest,
     c, h->total




More information about the vc mailing list