forked from Imagelibrary/rtems
2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-rtems-file.c: Various 64bit fixes.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* 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.
|
||||
* libfs/src/rfs/rtems-rfs-bitmaps-ut.c: Various 64bit fixes.
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#include <rtems/rfs/rtems-rfs-file.h>
|
||||
#include "rtems-rfs-rtems.h"
|
||||
|
||||
@@ -51,7 +53,7 @@ rtems_rfs_rtems_file_open (rtems_libio_t* iop,
|
||||
flags = 0;
|
||||
|
||||
if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_OPEN))
|
||||
printf("rtems-rfs: file-open: path:%s ino:%ld flags:%04lx mode:%04lx\n",
|
||||
printf("rtems-rfs: file-open: path:%s ino:%" PRId32 " flags:%04" PRIx32 " mode:%04" PRIx32 "\n",
|
||||
pathname, ino, flags, mode);
|
||||
|
||||
rtems_rfs_rtems_lock (fs);
|
||||
|
||||
Reference in New Issue
Block a user