diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-03-22 14:55:37 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-03-22 14:55:37 +0000 |
commit | 5fe38341ad0d280f2906fa9454ae3d282f9511b9 (patch) | |
tree | 2a7b66ed76fa52b8812b6a35936991382cf70576 /cpukit/libfs/src/rfs/rtems-rfs-dir.c | |
parent | 2fc8e639ef22c66e94dc10bf971e8ded5766f8f5 (diff) |
2010-03-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/rfs/rtems-rfs-bitmaps-ut.c,
libfs/src/rfs/rtems-rfs-block.c, libfs/src/rfs/rtems-rfs-buffer.c,
libfs/src/rfs/rtems-rfs-dir.c, libfs/src/rfs/rtems-rfs-file.c,
libfs/src/rfs/rtems-rfs-format.c, libfs/src/rfs/rtems-rfs-group.c,
libfs/src/rfs/rtems-rfs-rtems-file.c,
libfs/src/rfs/rtems-rfs-shell.c: Fix printf format warning. Primarily
for size_t.
Diffstat (limited to 'cpukit/libfs/src/rfs/rtems-rfs-dir.c')
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-dir.c b/cpukit/libfs/src/rfs/rtems-rfs-dir.c index 03fd0d873b..3aa971c388 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-dir.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-dir.c @@ -228,7 +228,7 @@ rtems_rfs_dir_add_entry (rtems_rfs_file_system* fs, rtems_rfs_inode_ino (dir)); for (c = 0; c < length; c++) printf ("%c", name[c]); - printf (", len=%ld\n", length); + printf (", len=%zd\n", length); } rc = rtems_rfs_block_map_open (fs, dir, &map); @@ -612,7 +612,7 @@ rtems_rfs_dir_read (rtems_rfs_file_system* fs, *length += rtems_rfs_fs_block_size (fs) - map.bpos.boff; if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ)) - printf ("rtems-rfs: dir-read: next block: off:%ld length:%ld\n", + printf ("rtems-rfs: dir-read: next block: off:%ld length:%zd\n", (uint32_t) offset, *length); rc = rtems_rfs_block_map_next_block (fs, &map, &block); |