summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-utils.c
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-01-04 13:59:52 +0000
committerAnand V. Avati <avati@dev.gluster.com>2011-01-06 11:09:05 -0800
commitcfc387b0af174dfe303cdb3ef3ccfba979ef75ac (patch)
tree41930a4dbdcb1fd2759817e1f6c793e0dcdd723a /xlators/mgmt/glusterd/src/glusterd-utils.c
parentcbba1c3f55a7f73791310085b5d9bc65008f0b9b (diff)
logging: fix format warnings
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 2211 ((re)introduce warnings for format string/parameter mismatch) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2211
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index e0dc706b2aa..1794348f270 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -2336,7 +2336,7 @@ brick_validation:
if (!ret) {
snprintf(op_errstr, len, "Brick: %s already in use",
brick);
- gf_log ("", GF_LOG_ERROR, op_errstr);
+ gf_log ("", GF_LOG_ERROR, "%s", op_errstr);
ret = -1;
goto out;
} else {