summaryrefslogtreecommitdiffstats
path: root/cli/src
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src')
-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 0c9400ffc29..cfc1af02643 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