diff options
author | Shehjar Tikoo <shehjart@zresearch.com> | 2009-05-11 11:25:40 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-05-16 15:27:38 +0530 |
commit | f4fbc7200c32c50501df7a84b4ddeb4eeb0f5525 (patch) | |
tree | 73058c24bd66466f5f84dbbca6649a2ba668c511 /xlators | |
parent | 5c1d9108c1529a1155963cb1911f8870a674ab5b (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>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/storage/posix/src/posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index e4dc51939..b730b136f 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; } |