From 12f6dde9f5cd64773ccd907deb8600533e7b958f Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Thu, 1 Oct 2009 14:06:44 -0700 Subject: Fixed compiler warning xlogo.c:153: warning: format not a string literal and no format arguments --- xlogo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlogo.c') diff --git a/xlogo.c b/xlogo.c index 452c2ab..9e9227e 100644 --- a/xlogo.c +++ b/xlogo.c @@ -150,7 +150,7 @@ Syntax(Widget toplevel) SmcCloseConnection(connection, n, reasons); else { for (i=0; i < n; i++) - printf(reasons[i]); + printf("%s", reasons[i]); } exit(EXIT_FAILURE); } -- cgit v1.2.3