diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-16 17:00:07 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-16 17:00:07 +0000 |
commit | 652cdab3a6a3287805316674d98731516d023b2c (patch) | |
tree | 34e3f5a21094d0acabda190029d8ce12dbf43ba9 /cpukit/libfs | |
parent | 2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-652cdab3a6a3287805316674d98731516d023b2c.tar.bz2 |
2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-buffer-bdbuf.c:
Various 64bit fixes.
Diffstat (limited to 'cpukit/libfs')
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-buffer-bdbuf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-buffer-bdbuf.c b/cpukit/libfs/src/rfs/rtems-rfs-buffer-bdbuf.c index b46bab8067..536b136ed6 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-buffer-bdbuf.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-buffer-bdbuf.c @@ -20,6 +20,7 @@ #include "config.h" #endif +#include <inttypes.h> #include <errno.h> #include <rtems/rfs/rtems-rfs-buffer.h> @@ -66,8 +67,8 @@ rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer, int rc = 0; if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE)) - printf ("rtems-rfs: bdbuf-release: block=%lu bdbuf=%lu %s\n", - (rtems_rfs_buffer_block) ((intptr_t) buffer->user), + printf ("rtems-rfs: bdbuf-release: block=%" PRIuPTR " bdbuf=%" PRIu32 " %s\n", + ((intptr_t) buffer->user), buffer->block, modified ? "(modified)" : ""); if (modified) |