From 1350aecc7e600e73b810522c7727be20bdd3ae40 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Wed, 22 Feb 2012 18:35:07 +0530 Subject: protocol/client: Print correct error message Change-Id: Ic68626c4a205cd78b60831aa7bd838b6d8824fa1 BUG: 796195 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.com/2800 Reviewed-by: Amar Tumballi Tested-by: Gluster Build System --- xlators/protocol/client/src/client3_1-fops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/protocol/client') diff --git a/xlators/protocol/client/src/client3_1-fops.c b/xlators/protocol/client/src/client3_1-fops.c index 800761662..89c6e287c 100644 --- a/xlators/protocol/client/src/client3_1-fops.c +++ b/xlators/protocol/client/src/client3_1-fops.c @@ -1457,7 +1457,7 @@ out: if (rsp.op_ret == -1) { gf_log (this->name, GF_LOG_WARNING, "remote operation failed: %s", - strerror (gf_error_to_errno (rsp.op_errno))); + strerror (gf_error_to_errno (op_errno))); } STACK_UNWIND_STRICT (fxattrop, frame, rsp.op_ret, gf_error_to_errno (op_errno), dict); -- cgit