forked from Imagelibrary/rtems
2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-dir.c: Rename PRIdoff_t into PRIooff_t.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user