summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/rfs/rtems-rfs-buffer.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-06-15 13:35:53 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-06-15 13:35:53 +0000
commitcd28c732ba12c1a405b81a2aba30f46d44c56bd9 (patch)
tree754282ca4bad7d1e32d326cf961af88300521ab9 /cpukit/libfs/src/rfs/rtems-rfs-buffer.c
parent2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-cd28c732ba12c1a405b81a2aba30f46d44c56bd9.tar.bz2
2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-block.c, libfs/src/rfs/rtems-rfs-buffer.c, libnetworking/nfs/bootp_subr.c: Misc. 64bit-compatibility fixes.
Diffstat (limited to 'cpukit/libfs/src/rfs/rtems-rfs-buffer.c')
-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 eb83f4fbea..e9b048539c 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-buffer.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-buffer.c
@@ -20,6 +20,7 @@
#include "config.h"
#endif
+#include <inttypes.h>
#include <errno.h>
#include <rtems/rfs/rtems-rfs-buffer.h>
@@ -44,7 +45,7 @@ rtems_rfs_scan_chain (rtems_chain_control* chain,
node = rtems_chain_last (chain);
if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))
- printf ("rtems-rfs: buffer-scan: count=%lu, block=%lu: ", *count, block);
+ printf ("rtems-rfs: buffer-scan: count=%" PRIu32 ", block=%" PRIu32 ": ", *count, block);
while (!rtems_chain_is_head (chain, node))
{
@@ -105,7 +106,7 @@ rtems_rfs_buffer_handle_request (rtems_rfs_file_system* fs,
}
if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))
- printf ("rtems-rfs: buffer-request: block=%lu\n", block);
+ printf ("rtems-rfs: buffer-request: block=%" PRIu32 "\n", block);
/*
* First check to see if the buffer has already been requested and is