From d150340907efe888cdabfd4e49552fa8c75f2445 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Wed, 25 May 2011 05:14:04 +0000 Subject: cli: fix format string build warnings Signed-off-by: Amar Tumballi Signed-off-by: Anand Avati BUG: 2944 (warnings in cli_out) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2944 --- cli/src/cli-cmd-volume.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/src/cli-cmd-volume.c') diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index f2edbd0b1..467623f73 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -395,7 +395,7 @@ out: if (ret) { cli_cmd_sent_status_get (&sent); if ((sent == 0) && (parse_error == 0)) - cli_out ("Volume stop failed", req.volname); + cli_out ("Volume stop on '%s' failed", req.volname); } return ret; @@ -451,7 +451,7 @@ out: if (ret) { cli_cmd_sent_status_get (&sent); if ((sent == 0) && (parse_error == 0)) - cli_out ("Volume rename failed", (char *)words[2]); + cli_out ("Volume rename on '%s' failed", (char *)words[2]); } return ret; -- cgit