summaryrefslogtreecommitdiffstats
path: root/sediff/utilgui.c
diff options
context:
space:
mode:
authorMiroslav Grepl <mgrepl@redhat.com>2014-04-11 18:49:33 +0200
committerMiroslav Grepl <mgrepl@redhat.com>2014-04-11 18:49:33 +0200
commit32ede3cc817ee4f6806877a34a6c84ed50c31df7 (patch)
treeda358cffd0f7a04c65487babab3618c60d470c17 /sediff/utilgui.c
parent5d1423e1473bbbcbdd7bba8a57ed7542d1abb285 (diff)
downloadsetools-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.c2
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);
}