From 40c53115e312a7b5b5bc0b7cf880820bc8e7c8e1 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Mon, 10 May 2010 09:30:37 +0000 Subject: nfs: fix warning on 32 bit Signed-off-by: Csaba Henk Signed-off-by: Anand V. Avati BUG: 902 (iozone hangs during random read throughput test) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=902 --- xlators/nfs/server/src/nfs3-helpers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/nfs/server') 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); } -- cgit