rtems-rfs-buffer.c: Correct printf() format specifiers to eliminate warnings

This commit is contained in:
Joel Sherrill
2014-09-03 09:59:10 -05:00
parent e1462e162a
commit 2dd1e75ed9

View File

@@ -52,13 +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 ("%p ", 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",
((intptr_t)(buffer->user)));
printf (": found block=%p\n", buffer->user);
(*count)--;
rtems_chain_extract_unprotected (node);