summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/protocol/client/src/client-rpc-fops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/client/src/client-rpc-fops.c b/xlators/protocol/client/src/client-rpc-fops.c
index 62038acc4db..d56c554360a 100644
--- a/xlators/protocol/client/src/client-rpc-fops.c
+++ b/xlators/protocol/client/src/client-rpc-fops.c
@@ -2638,7 +2638,7 @@ client3_3_readdir_cbk (struct rpc_req *req, struct iovec *iov, int count,
GF_PROTOCOL_DICT_UNSERIALIZE (frame->this, xdata,
(rsp.xdata.xdata_val),
- (rsp.xdata.xdata_len), rsp.op_ret,
+ (rsp.xdata.xdata_len), ret,
rsp.op_errno, out);
out: