summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy White <jwhite@codeweavers.com>2020-05-20 14:09:46 -0500
committerJeremy White <jwhite@codeweavers.com>2020-05-23 08:33:48 -0500
commitcc213f0746c9561302abc0697dfa8b82b4530681 (patch)
tree37dcab868d7bdf6cfbff90feaf1d606c8896dfa0
parent28b08ae63cfe79da8b31c3a50238ac5a3547370a (diff)
Avoid possible format security errors.HEADmaster
Prevents rpm build failures when -Werror=format-security is used.
-rw-r--r--src/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui.c b/src/gui.c
index 744f5d1..21943c2 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -129,7 +129,7 @@ void gui_report_error(gui_t *gui, const char *message)
dialog = gtk_message_dialog_new(GTK_WINDOW(gui->window),
GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, message);
+ GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", message);
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);