summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cli/src/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index 127d6340f8d..ec24e96ed52 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -343,7 +343,7 @@ cli_rpc_notify (struct rpc_clnt *rpc, void *mydata, rpc_clnt_event_t event,
xlator_t *this = NULL;
int ret = 0;
- this = data;
+ this = mydata;
switch (event) {
case RPC_CLNT_CONNECT: