diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-03-13 16:10:08 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-03-17 10:05:03 -0500 |
commit | 4b7df86b8e8148eeb886f93a91305948478169ac (patch) | |
tree | ec771da0ba929786c03f1339cf408638ec742270 /cpukit | |
parent | bsp/mpc55xx: Fix flash settings (diff) | |
download | rtems-4b7df86b8e8148eeb886f93a91305948478169ac.tar.bz2 |
cpukit/libdl/rtl-obj-comp.c: Use correct printf() specification
Diffstat (limited to '')
-rw-r--r-- | cpukit/libdl/rtl-obj-comp.c | 2 | ||||
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-buffer.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libdl/rtl-obj-comp.c b/cpukit/libdl/rtl-obj-comp.c index d9c5462e1e..e36276c58f 100644 --- a/cpukit/libdl/rtl-obj-comp.c +++ b/cpukit/libdl/rtl-obj-comp.c @@ -142,7 +142,7 @@ rtems_rtl_obj_comp_read (rtems_rtl_obj_comp_t* comp, if (in_length != block_size) { - rtems_rtl_set_error (EIO, "compressed read failed: bs=%u in=%u", + rtems_rtl_set_error (EIO, "compressed read failed: bs=%u in=%zu", block_size, in_length); return false; } diff --git a/cpukit/libfs/src/rfs/rtems-rfs-buffer.c b/cpukit/libfs/src/rfs/rtems-rfs-buffer.c index 3d89f5fa43..d99a351a7f 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-buffer.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-buffer.c @@ -52,12 +52,12 @@ rtems_rfs_scan_chain (rtems_chain_control* chain, buffer = (rtems_rfs_buffer*) node; if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS)) - printf ("%" PRIuPTR " ", ((intptr_t) buffer->user)); + printf ("%" PRIiPTR " ", ((intptr_t) buffer->user)); if (((rtems_rfs_buffer_block) ((intptr_t)(buffer->user))) == block) { if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS)) - printf (": found block=%" PRIuPTR "\n", + printf (": found block=%" PRIiPTR "\n", ((intptr_t)(buffer->user))); (*count)--; |