cpukit/libdl/rtl-obj-comp.c: Use correct printf() specification

This commit is contained in:
Joel Sherrill
2015-03-13 16:10:08 -05:00
parent ac8339ae50
commit 4b7df86b8e
2 changed files with 3 additions and 3 deletions

View File

@@ -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;
}

View File

@@ -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)--;