iso-dialog: Do not use string directly

Fixes -Werror=format-security used when creating the rpm

Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
This commit is contained in:
Pavel Grunt 2017-02-06 13:02:30 +01:00
parent 7bc259d193
commit a37f952109

View File

@ -286,7 +286,7 @@ remote_viewer_iso_list_dialog_show_error(RemoteViewerISOListDialog *self,
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
message ? message : _("Unspecified error"));
"%s", message ? message : _("Unspecified error"));
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
}