summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/rfs/rtems-rfs-file.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-03-22 14:55:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-03-22 14:55:37 +0000
commit5fe38341ad0d280f2906fa9454ae3d282f9511b9 (patch)
tree2a7b66ed76fa52b8812b6a35936991382cf70576 /cpukit/libfs/src/rfs/rtems-rfs-file.c
parentNew. (diff)
downloadrtems-5fe38341ad0d280f2906fa9454ae3d282f9511b9.tar.bz2
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-file.c')
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-file.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-file.c b/cpukit/libfs/src/rfs/rtems-rfs-file.c
index f22f360af1..05ac5051b0 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-file.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-file.c
@@ -285,7 +285,7 @@ rtems_rfs_file_io_start (rtems_rfs_file_handle* handle,
*available = size - rtems_rfs_file_block_offset (handle);
if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))
- printf ("rtems-rfs: file-io: start: available=%lu (%lu)\n",
+ printf ("rtems-rfs: file-io: start: available=%zu (%zu)\n",
*available, size);
return 0;
@@ -302,7 +302,7 @@ rtems_rfs_file_io_end (rtems_rfs_file_handle* handle,
int rc = 0;
if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))
- printf ("rtems-rfs: file-io: end: %s size=%lu\n",
+ printf ("rtems-rfs: file-io: end: %s size=%zu\n",
read ? "read" : "write", size);
if (rtems_rfs_buffer_handle_has_block (&handle->buffer))
@@ -313,8 +313,9 @@ rtems_rfs_file_io_end (rtems_rfs_file_handle* handle,
rtems_rfs_file_buffer (handle));
if (rc > 0)
{
- printf ("rtems-rfs: file-io: end: error on release: %s size=%lu: %d: %s\n",
- read ? "read" : "write", size, rc, strerror (rc));
+ printf (
+ "rtems-rfs: file-io: end: error on release: %s size=%zu: %d: %s\n",
+ read ? "read" : "write", size, rc, strerror (rc));
return rc;
}