summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli-cmd-volume.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c
index c47c002c3f0..018814058a8 100644
--- a/cli/src/cli-cmd-volume.c
+++ b/cli/src/cli-cmd-volume.c
@@ -1061,7 +1061,7 @@ out:
cli_out ("Volume add-brick failed");
} else {
#if (USE_EVENTS)
- gf_event (EVENT_VOLUME_ADD_BRICK, event_str);
+ gf_event (EVENT_VOLUME_ADD_BRICK, "%s", event_str);
GF_FREE (event_str);
#endif
}
@@ -2050,7 +2050,7 @@ out:
} else {
#if (USE_EVENTS)
if (!event_ret) {
- gf_event (event, event_str);
+ gf_event (event, "%s", event_str);
GF_FREE (event_str);
}
#endif