summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-11-06 07:08:32 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-11-06 07:08:32 +0000
commite38658762dd4f0793b042abfb6225aae4c84f39b (patch)
tree43d88b353e703d327bf1fdb78f00db85e125a3a6 /cpukit/libfs
parent2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-e38658762dd4f0793b042abfb6225aae4c84f39b.tar.bz2
2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-dir.c: Rename PRIdoff_t into PRIooff_t.
Diffstat (limited to 'cpukit/libfs')
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-dir.c6
1 files changed, 3 insertions, 3 deletions
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;
}