Commit cc213f07 authored by Jeremy White's avatar Jeremy White

Avoid possible format security errors.

Prevents rpm build failures when -Werror=format-security is used.
parent 28b08ae6
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment