summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-rpc-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src/cli-rpc-ops.c')
-rw-r--r--cli/src/cli-rpc-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index 5a95cff88e3..0d57c858e43 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -4130,7 +4130,7 @@ gf_cli_getspec (call_frame_t *frame, xlator_t *this,
goto out;
op_dict = dict_new ();
- if (!dict) {
+ if (!op_dict) {
ret = -1;
goto out;
}