summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-13 16:10:08 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-17 10:05:03 -0500
commit4b7df86b8e8148eeb886f93a91305948478169ac (patch)
treeec771da0ba929786c03f1339cf408638ec742270
parentbsp/mpc55xx: Fix flash settings (diff)
downloadrtems-4b7df86b8e8148eeb886f93a91305948478169ac.tar.bz2
cpukit/libdl/rtl-obj-comp.c: Use correct printf() specification
-rw-r--r--cpukit/libdl/rtl-obj-comp.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-buffer.c4
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)--;