summaryrefslogtreecommitdiffstats
path: root/cli/src
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2011-06-01 00:31:07 +0000
committerAnand Avati <avati@gluster.com>2011-06-01 00:56:00 -0700
commit1c034335054090c7dd967ea21a234c1dd8e78c9c (patch)
tree51412b14140c1a8f300c9268efc2a10fcaa6647a /cli/src
parent197d850ff62ddcb266e3a9fab30ce753bf123540 (diff)
cli: fix the build warning message
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2944 (warnings in cli_out) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2944
Diffstat (limited to 'cli/src')
-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 66fb6429fb5..382e1110cc1 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -2794,7 +2794,7 @@ gf_cli3_1_gsync_set_cbk (struct rpc_req *req, struct iovec *iov,
ret = dict_get_str (dict, "gsync-status", &gsync_status);
if (!ret)
- cli_out (gsync_status);
+ cli_out ("%s", gsync_status);
else
ret = 0;