[PATCH 7/8] wmcalendar: Add format string to printf().

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
---
 wmcalendar/Src/calendar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmcalendar/Src/calendar.c b/wmcalendar/Src/calendar.c
index ae6d3ce..77e39df 100644
--- a/wmcalendar/Src/calendar.c
+++ b/wmcalendar/Src/calendar.c
@@ -11,7 +11,7 @@ void checkicalversion()
     GtkWidget* label;
     char* msg = "\n\nWARNING:\nIt is highly recommended to upgrade to libical 0.24!\nOtherwise wmCalendar will not work stable!\n";
     if(!strcmp(ICAL_VERSION, "0.23")){
-	printf(msg);
+	printf("%s",msg);
      	dialog = gtk_dialog_new_with_buttons ("Warning",
 					      NULL,
 					      GTK_DIALOG_DESTROY_WITH_PARENT,
-- 
2.7.4


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.