summaryrefslogtreecommitdiffstats
path: root/xlators/nfs
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2010-05-10 09:30:37 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-05-11 10:09:57 -0700
commit40c53115e312a7b5b5bc0b7cf880820bc8e7c8e1 (patch)
treea22536d4dcbc880e3e580da5043afaada3f55a71 /xlators/nfs
parente3ea64186ad389393274a1f4c2c2f9fe13df5606 (diff)
nfs: fix warning on 32 bit
Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 902 (iozone hangs during random read throughput test) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=902
Diffstat (limited to 'xlators/nfs')
-rw-r--r--xlators/nfs/server/src/nfs3-helpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/nfs/server/src/nfs3-helpers.c b/xlators/nfs/server/src/nfs3-helpers.c
index e929bb311..feab7b5e8 100644
--- a/xlators/nfs/server/src/nfs3-helpers.c
+++ b/xlators/nfs/server/src/nfs3-helpers.c
@@ -2211,9 +2211,9 @@ nfs3_log_read_res (uint32_t xid, nfsstat3 stat, int pstat, count3 count,
nfs3_stat_to_errstr (xid, "READ", stat, pstat, errstr);
if (vec)
gf_log (GF_NFS3, GF_LOG_DEBUG, "%s, count: %"PRIu32", is_eof:"
- " %d, vector: count: %d, len: %"PRIu64, errstr, count,
+ " %d, vector: count: %d, len: %zd", errstr, count,
is_eof, veccount, vec->iov_len);
- else
+ else
gf_log (GF_NFS3, GF_LOG_DEBUG, "%s, count: %"PRIu32", is_eof:"
" %d", errstr, count, is_eof);
}