summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-09-04 15:39:41 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-09-16 16:09:13 -0500
commitf641b15e18a2fa8acbf0ae8a17c8a9a08b895515 (patch)
tree7f4bd926734f9e38415b5f0cfdc27191facaadaf
parentpc386/.../bsp.h: Do not include crt.h (diff)
downloadrtems-f641b15e18a2fa8acbf0ae8a17c8a9a08b895515.tar.bz2
Revert: rtems-rfs-buffer.c: Correct printf() format specifiers to eliminate warnings
This may actually be a problem in inttypes.h.
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-buffer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-buffer.c b/cpukit/libfs/src/rfs/rtems-rfs-buffer.c
index 4192b21789..3d89f5fa43 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-buffer.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-buffer.c
@@ -52,12 +52,13 @@ rtems_rfs_scan_chain (rtems_chain_control* chain,
buffer = (rtems_rfs_buffer*) node;
if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))
- printf ("%p ", buffer->user);
+ printf ("%" PRIuPTR " ", ((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=%p\n", buffer->user);
+ printf (": found block=%" PRIuPTR "\n",
+ ((intptr_t)(buffer->user)));
(*count)--;
rtems_chain_extract_unprotected (node);