diff options
author | Miroslav Grepl <mgrepl@redhat.com> | 2014-04-11 18:49:33 +0200 |
---|---|---|
committer | Miroslav Grepl <mgrepl@redhat.com> | 2014-04-11 18:49:33 +0200 |
commit | 32ede3cc817ee4f6806877a34a6c84ed50c31df7 (patch) | |
tree | da358cffd0f7a04c65487babab3618c60d470c17 /sediff/utilgui.c | |
parent | 5d1423e1473bbbcbdd7bba8a57ed7542d1abb285 (diff) | |
download | setools-32ede3cc817ee4f6806877a34a6c84ed50c31df7.tar.gz setools-32ede3cc817ee4f6806877a34a6c84ed50c31df7.tar.xz setools-32ede3cc817ee4f6806877a34a6c84ed50c31df7.zip |
Fix -Wformat-security issues
Diffstat (limited to 'sediff/utilgui.c')
-rw-r--r-- | sediff/utilgui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sediff/utilgui.c b/sediff/utilgui.c index 04e1e05..9e183ba 100644 --- a/sediff/utilgui.c +++ b/sediff/utilgui.c @@ -31,7 +31,7 @@ void util_message(GtkWindow * parent, GtkMessageType msg_type, const char *msg) { GtkWidget *dialog; - dialog = gtk_message_dialog_new(parent, GTK_DIALOG_DESTROY_WITH_PARENT, msg_type, GTK_BUTTONS_CLOSE, msg); + dialog = gtk_message_dialog_new(parent, GTK_DIALOG_DESTROY_WITH_PARENT, msg_type, GTK_BUTTONS_CLOSE, "%s", msg); gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); } |