From f4fbc7200c32c50501df7a84b4ddeb4eeb0f5525 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Mon, 11 May 2009 11:25:40 +0530 Subject: 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 --- xlators/storage/posix/src/posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/storage/posix/src/posix.c') 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; } -- cgit