Blame SOURCES/0014-iso-dialog-Do-not-use-string-directly.patch
|
|
140d58 |
From 4e3186bcf1c872f4b2c2bbb4867a4f3847883408 Mon Sep 17 00:00:00 2001
|
|
|
140d58 |
From: Pavel Grunt <pgrunt@redhat.com>
|
|
|
140d58 |
Date: Mon, 6 Feb 2017 13:02:30 +0100
|
|
|
140d58 |
Subject: [PATCH 14/26] iso-dialog: Do not use string directly
|
|
|
140d58 |
|
|
|
140d58 |
Fixes -Werror=format-security used when creating the rpm
|
|
|
140d58 |
|
|
|
140d58 |
Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
|
|
|
140d58 |
---
|
|
|
140d58 |
src/remote-viewer-iso-list-dialog.c | 2 +-
|
|
|
140d58 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
140d58 |
|
|
|
140d58 |
diff --git a/src/remote-viewer-iso-list-dialog.c b/src/remote-viewer-iso-list-dialog.c
|
|
|
140d58 |
index f23ddb2..2ab5435 100644
|
|
|
140d58 |
--- a/src/remote-viewer-iso-list-dialog.c
|
|
|
140d58 |
+++ b/src/remote-viewer-iso-list-dialog.c
|
|
|
140d58 |
@@ -286,7 +286,7 @@ remote_viewer_iso_list_dialog_show_error(RemoteViewerISOListDialog *self,
|
|
|
140d58 |
GTK_DIALOG_DESTROY_WITH_PARENT,
|
|
|
140d58 |
GTK_MESSAGE_ERROR,
|
|
|
140d58 |
GTK_BUTTONS_CLOSE,
|
|
|
140d58 |
- message ? message : _("Unspecified error"));
|
|
|
140d58 |
+ "%s", message ? message : _("Unspecified error"));
|
|
|
140d58 |
gtk_dialog_run(GTK_DIALOG(dialog));
|
|
|
140d58 |
gtk_widget_destroy(dialog);
|
|
|
140d58 |
}
|
|
|
140d58 |
--
|
|
|
140d58 |
2.12.0
|
|
|
140d58 |
|