diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-17 03:41:12 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-17 03:41:12 +0000 |
commit | fa4b7a485c6032d495c1a9093441ca8424b3a86b (patch) | |
tree | db3fb03495038eef3629b474d12c6adff77682e9 /cpukit | |
parent | 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-fa4b7a485c6032d495c1a9093441ca8424b3a86b.tar.bz2 |
2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-file-system.c: Various 64bit fixes.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 1 | ||||
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-file-system.c | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 5f79525ba1..8e76c7a977 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,6 @@ 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org> + * libfs/src/rfs/rtems-rfs-file-system.c: Various 64bit fixes. * libfs/src/rfs/rtems-rfs-rtems-file.c: Various 64bit fixes. * libfs/src/rfs/rtems-rfs-buffer.c: Various 64bit fixes. * libfs/src/rfs/rtems-rfs-shell.c: Various 64bit fixes. diff --git a/cpukit/libfs/src/rfs/rtems-rfs-file-system.c b/cpukit/libfs/src/rfs/rtems-rfs-file-system.c index d56f62eb59..6c92a43720 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-file-system.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-file-system.c @@ -21,6 +21,8 @@ #include "config.h" #endif +#include <inttypes.h> + #include <rtems/rfs/rtems-rfs-data.h> #include <rtems/rfs/rtems-rfs-file-system.h> #include <rtems/rfs/rtems-rfs-inode.h> @@ -79,7 +81,7 @@ rtems_rfs_fs_read_superblock (rtems_rfs_file_system* fs) (RTEMS_RFS_VERSION * RTEMS_RFS_VERSION_MASK)) { if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN)) - printf ("rtems-rfs: read-superblock: incompatible version: %08lx (%08x)\n", + printf ("rtems-rfs: read-superblock: incompatible version: %08" PRIx32 " (%08" PRIx32 ")\n", read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK); rtems_rfs_buffer_handle_close (fs, &handle); return EIO; @@ -88,7 +90,7 @@ rtems_rfs_fs_read_superblock (rtems_rfs_file_system* fs) if (read_sb (RTEMS_RFS_SB_OFFSET_INODE_SIZE) != RTEMS_RFS_INODE_SIZE) { if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN)) - printf ("rtems-rfs: read-superblock: inode size mismatch: fs:%ld target:%d\n", + printf ("rtems-rfs: read-superblock: inode size mismatch: fs:%" PRId32 " target:%" PRId32 "\n", read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK); rtems_rfs_buffer_handle_close (fs, &handle); return EIO; |