diff options
author | Joel Sherrill <joel@rtems.org> | 2017-04-25 13:57:21 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2017-04-25 13:57:21 -0500 |
commit | c723ee45fa165def52cbeac5f5ae34a9da7a52b7 (patch) | |
tree | e729edd508a9bc5ddee2599d3a197742bd683fcf /cpukit/libdl/rtl-obj-cache.c | |
parent | posix/src/mutexinit.c: Fix used before initialized warning (diff) | |
download | rtems-c723ee45fa165def52cbeac5f5ae34a9da7a52b7.tar.bz2 |
libdl/rtl-obj-cache.c: Fix printf() format warning
Diffstat (limited to '')
-rw-r--r-- | cpukit/libdl/rtl-obj-cache.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/libdl/rtl-obj-cache.c b/cpukit/libdl/rtl-obj-cache.c index ba9d3bbd66..c120c8d887 100644 --- a/cpukit/libdl/rtl-obj-cache.c +++ b/cpukit/libdl/rtl-obj-cache.c @@ -175,8 +175,9 @@ rtems_rtl_obj_cache_read (rtems_rtl_obj_cache_t* cache, } if (rtems_rtl_trace (RTEMS_RTL_TRACE_CACHE)) - printf ("rtl: cache: %2d: seek: offset=%" PRIdMAX "buffer_offset=%zu" - "read=%zu cache=[%" PRIdMAX ",%" PRIdMAX "] dist=%" PRIdMAX "\n", + printf ("rtl: cache: %2d: seek: offset=%" PRIdoff_t "buffer_offset=%zu" + "read=%zu cache=[%" PRIdoff_t ",%" PRIdoff_t "] " + "dist=%" PRIdoff_t "\n", fd, offset + buffer_offset, buffer_offset, buffer_read, offset, offset + buffer_read, (cache->file_size - offset)); |