summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-12-10 12:24:16 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-12-12 20:07:50 -0800
commitdf5f71b401decfb32006d7564db1a13bcd5e8be2 (patch)
tree6dd87d6f6e603a1df7aedafc319700b411a466fb /xlators
parentc40ce6beac9c3d9d006bcbd91bdac5e96055a00e (diff)
client-reopen-cbk: fix a gf_log() crash due to wrong argument listv3.1.2qa2
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> 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
Diffstat (limited to 'xlators')
-rw-r--r--xlators/protocol/client/src/client-handshake.c2
1 files changed, 1 insertions, 1 deletions
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")",