summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog4
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-dir.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index ab13e923b7..a2d092d4f3 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,7 @@
+2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * libfs/src/rfs/rtems-rfs-dir.c: Rename PRIdoff_t into PRIooff_t.
+
2011-11-04 Chris Johns <chrisj@rtems.org>
* libfs/src/rfs/rtems-rfs-dir.h: Commit the missing change. Part
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-dir.c b/cpukit/libfs/src/rfs/rtems-rfs-dir.c
index 1f2e5fd518..0b0275cec0 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-dir.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-dir.c
@@ -32,9 +32,9 @@
#include <inttypes.h>
#if SIZEOF_OFF_T == 8
-#define PRIdoff_t PRIo64
+#define PRIooff_t PRIo64
#elif SIZEOF_OFF_T == 4
-#define PRIdoff_t PRIo32
+#define PRIooff_t PRIo32
#else
#error "unsupported size of off_t"
#endif
@@ -630,7 +630,7 @@ rtems_rfs_dir_read (rtems_rfs_file_system* fs,
dirent->d_namlen = elength;
if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))
- printf ("rtems-rfs: dir-read: found off:%" PRIdoff_t " ino:%ld name=%s\n",
+ printf ("rtems-rfs: dir-read: found off:%" PRIooff_t " ino:%ld name=%s\n",
dirent->d_off, dirent->d_ino, dirent->d_name);
break;
}