summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-09-03 09:59:10 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-09-04 09:08:05 -0500
commit2dd1e75ed9f693afe7d5f255a821a17f8eefbf69 (patch)
tree3e9fe6da059e8baec44893b29a70d2b84ac777cd
parentsp19: Eliminate warnings (diff)
downloadrtems-2dd1e75ed9f693afe7d5f255a821a17f8eefbf69.tar.bz2
rtems-rfs-buffer.c: Correct printf() format specifiers to eliminate warnings
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-buffer.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-buffer.c b/cpukit/libfs/src/rfs/rtems-rfs-buffer.c
index 3d89f5fa43..4192b21789 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-buffer.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-buffer.c
@@ -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);