diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2012-02-22 18:35:07 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-02-22 07:09:32 -0800 |
commit | 1350aecc7e600e73b810522c7727be20bdd3ae40 (patch) | |
tree | 7072677fac7ca20b697fc7cb6454d2322fa200d9 /xlators/protocol/client/src | |
parent | 67104b716a93520d66c6e572b5f94aa808645e56 (diff) |
protocol/client: Print correct error message
Change-Id: Ic68626c4a205cd78b60831aa7bd838b6d8824fa1
BUG: 796195
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Reviewed-on: http://review.gluster.com/2800
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/protocol/client/src')
-rw-r--r-- | xlators/protocol/client/src/client3_1-fops.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |