mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-02-05 05:01:38 +00:00
cpukit/libdl/rtl-obj-comp.c: Use correct printf() specification
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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)--;
|
||||
|
||||
Reference in New Issue
Block a user