[rtems commit] rfs: Fix format warning

Sebastian Huber sebh at rtems.org
Tue Jan 23 07:00:37 UTC 2018


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Jan 23 08:00:11 2018 +0100

rfs: Fix format warning

Update #3082.

---

 cpukit/libfs/src/rfs/rtems-rfs-buffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/libfs/src/rfs/rtems-rfs-buffer.c b/cpukit/libfs/src/rfs/rtems-rfs-buffer.c
index c1c780b..33beb54 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-buffer.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-buffer.c
@@ -416,7 +416,7 @@ rtems_rfs_buffer_setblksize (rtems_rfs_file_system* fs, uint32_t size)
   int rc;
 
   if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))
-    printf ("rtems-rfs: buffer-setblksize: block size: %zu\n", size);
+    printf ("rtems-rfs: buffer-setblksize: block size: %" PRIu32 "\n", size);
 
   rc = rtems_rfs_buffers_release (fs);
   if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))




More information about the vc mailing list