From df5f71b401decfb32006d7564db1a13bcd5e8be2 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Fri, 10 Dec 2010 12:24:16 +0000 Subject: client-reopen-cbk: fix a gf_log() crash due to wrong argument list Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875 --- xlators/protocol/client/src/client-handshake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/protocol/client/src/client-handshake.c b/xlators/protocol/client/src/client-handshake.c index 8e5236fc164..62877078b3d 100644 --- a/xlators/protocol/client/src/client-handshake.c +++ b/xlators/protocol/client/src/client-handshake.c @@ -400,7 +400,7 @@ client3_1_reopen_cbk (struct rpc_req *req, struct iovec *iov, int count, if (rsp.op_ret < 0) { gf_log (frame->this->name, GF_LOG_NORMAL, "reopen on %s failed (%s)", - local->loc.path, rsp.op_ret, strerror (rsp.op_errno)); + local->loc.path, strerror (rsp.op_errno)); } else { gf_log (frame->this->name, GF_LOG_NORMAL, "reopen on %s succeeded (%"PRId64")", -- cgit