aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2011-10-22 13:19:02 -0400
committerMichal Marek <mmarek@suse.cz>2011-12-11 15:25:54 -0500
commita7d6f6e407d617da7a3cda8865e593523eb6ee80 (patch)
tree4386be310d952ad1e3f1ec256c5fd7d58aefbe67 /scripts
parent93072c3ecafcf188390750cc755185f3150736b9 (diff)
kconfig: fix warnings by specifing format arguments
Specify format arguments to fix warnings. HOSTCC scripts/kconfig/gconf.o /usr/src/lto/scripts/kconfig/gconf.c: In function 'on_introduction1_activate': /usr/src/lto/scripts/kconfig/gconf.c:686:6: warning: format not a string literal and no format arguments /usr/src/lto/scripts/kconfig/gconf.c: In function 'on_about1_activate': /usr/src/lto/scripts/kconfig/gconf.c:704:6: warning: format not a string literal and no format arguments /usr/src/lto/scripts/kconfig/gconf.c: In function 'on_license1_activate': /usr/src/lto/scripts/kconfig/gconf.c:723:6: warning: format not a string literal and no format arguments Signed-off-by: Peter Foley <pefoley2@verizon.net> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/gconf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c
index 9f4438027df4..b9e26a56c45d 100644
--- a/scripts/kconfig/gconf.c
+++ b/scripts/kconfig/gconf.c
@@ -683,7 +683,7 @@ void on_introduction1_activate(GtkMenuItem * menuitem, gpointer user_data)
683 dialog = gtk_message_dialog_new(GTK_WINDOW(main_wnd), 683 dialog = gtk_message_dialog_new(GTK_WINDOW(main_wnd),
684 GTK_DIALOG_DESTROY_WITH_PARENT, 684 GTK_DIALOG_DESTROY_WITH_PARENT,
685 GTK_MESSAGE_INFO, 685 GTK_MESSAGE_INFO,
686 GTK_BUTTONS_CLOSE, intro_text); 686 GTK_BUTTONS_CLOSE, "%s", intro_text);
687 g_signal_connect_swapped(GTK_OBJECT(dialog), "response", 687 g_signal_connect_swapped(GTK_OBJECT(dialog), "response",
688 G_CALLBACK(gtk_widget_destroy), 688 G_CALLBACK(gtk_widget_destroy),
689 GTK_OBJECT(dialog)); 689 GTK_OBJECT(dialog));
@@ -701,7 +701,7 @@ void on_about1_activate(GtkMenuItem * menuitem, gpointer user_data)
701 dialog = gtk_message_dialog_new(GTK_WINDOW(main_wnd), 701 dialog = gtk_message_dialog_new(GTK_WINDOW(main_wnd),
702 GTK_DIALOG_DESTROY_WITH_PARENT, 702 GTK_DIALOG_DESTROY_WITH_PARENT,
703 GTK_MESSAGE_INFO, 703 GTK_MESSAGE_INFO,
704 GTK_BUTTONS_CLOSE, about_text); 704 GTK_BUTTONS_CLOSE, "%s", about_text);
705 g_signal_connect_swapped(GTK_OBJECT(dialog), "response", 705 g_signal_connect_swapped(GTK_OBJECT(dialog), "response",
706 G_CALLBACK(gtk_widget_destroy), 706 G_CALLBACK(gtk_widget_destroy),
707 GTK_OBJECT(dialog)); 707 GTK_OBJECT(dialog));
@@ -720,7 +720,7 @@ void on_license1_activate(GtkMenuItem * menuitem, gpointer user_data)
720 dialog = gtk_message_dialog_new(GTK_WINDOW(main_wnd), 720 dialog = gtk_message_dialog_new(GTK_WINDOW(main_wnd),
721 GTK_DIALOG_DESTROY_WITH_PARENT, 721 GTK_DIALOG_DESTROY_WITH_PARENT,
722 GTK_MESSAGE_INFO, 722 GTK_MESSAGE_INFO,
723 GTK_BUTTONS_CLOSE, license_text); 723 GTK_BUTTONS_CLOSE, "%s", license_text);
724 g_signal_connect_swapped(GTK_OBJECT(dialog), "response", 724 g_signal_connect_swapped(GTK_OBJECT(dialog), "response",
725 G_CALLBACK(gtk_widget_destroy), 725 G_CALLBACK(gtk_widget_destroy),
726 GTK_OBJECT(dialog)); 726 GTK_OBJECT(dialog));