summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@zresearch.com>2009-05-11 11:25:40 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-05-16 15:27:38 +0530
commitf4fbc7200c32c50501df7a84b4ddeb4eeb0f5525 (patch)
tree73058c24bd66466f5f84dbbca6649a2ba668c511
parent5c1d9108c1529a1155963cb1911f8870a674ab5b (diff)
posix: Fix build warning on incorrect type
This fixes a build warning due to use of incorrect type for size_t, for Core 2 Duo. Extra fix from avati: change %ld to GF_PRI_SIZET Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
-rw-r--r--xlators/storage/posix/src/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index e4dc519390f..b730b136f48 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -1532,7 +1532,7 @@ posix_readv (call_frame_t *frame, xlator_t *this,
if (!size) {
op_errno = EINVAL;
- gf_log (this->name, GF_LOG_DEBUG, "size=%d", size);
+ gf_log (this->name, GF_LOG_DEBUG, "size=%"GF_PRI_SIZET, size);
goto out;
}