From 7f5c1e5777d77570be0f9698de39d2f1905c509f Mon Sep 17 00:00:00 2001 From: Jeff Darcy Date: Tue, 10 Apr 2012 17:12:05 -0400 Subject: Fix compiler warnings and typos from Debian build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mostly to do with "-Werror=format-security" being buggy, but while we're here we might as well fix some typos and such. Credit goes to Patrick Matthäi for pointing these out. Change-Id: Ia32d1111d7c10b1f213df85d86b17a1326248ffd BUG: 811387 Signed-off-by: Jeff Darcy Reviewed-on: http://review.gluster.com/3117 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- xlators/mgmt/glusterd/src/glusterd-volgen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c') diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c index c5b41441e89..9b8daa16a65 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volgen.c +++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c @@ -3422,7 +3422,7 @@ done: ret = -1; snprintf (msg, sizeof (msg), "%s off and %s on is not " "valid configuration", wb_key, el_key); - gf_log ("glusterd", GF_LOG_ERROR, msg); + gf_log ("glusterd", GF_LOG_ERROR, "%s", msg); if (op_errstr) *op_errstr = gf_strdup (msg); goto out; -- cgit