1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Description: Fix build failure with the new hardened compiler flags, see:
http://lists.debian.org/debian-devel-announce/2011/09/msg00001.html
Author: Alessio Treglia <alessio@debian.org>
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646263
Forwarded: no
---
src/util.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- gnomad2.orig/src/util.c
+++ gnomad2/src/util.c
@@ -210,7 +210,7 @@ void create_error_dialog(gchar *errorstr
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
- errorstring);
+ "%s", errorstring);
g_signal_connect_object(GTK_OBJECT(dialog),
"delete_event",
G_CALLBACK(gtk_widget_destroy),
@@ -234,7 +234,7 @@ gboolean request_confirmation_dialog(gch
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_YES_NO,
- confirmstring);
+ "%s", confirmstring);
i = gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
if (i == GTK_RESPONSE_YES) {
|