diff options
author | Jeremy White <jwhite@codeweavers.com> | 2020-05-20 14:09:46 -0500 |
---|---|---|
committer | Jeremy White <jwhite@codeweavers.com> | 2020-05-23 08:33:48 -0500 |
commit | cc213f0746c9561302abc0697dfa8b82b4530681 (patch) | |
tree | 37dcab868d7bdf6cfbff90feaf1d606c8896dfa0 | |
parent | 28b08ae63cfe79da8b31c3a50238ac5a3547370a (diff) |
Prevents rpm build failures when -Werror=format-security is used.
-rw-r--r-- | src/gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |