summaryrefslogtreecommitdiff
path: root/xlogo.c
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2009-10-01 14:06:44 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2009-10-01 14:06:44 -0700
commit12f6dde9f5cd64773ccd907deb8600533e7b958f (patch)
treefebebf166edf3cdf5f0fe400cdaf852ace1db46a /xlogo.c
parent9bb8ad30520e9e9d688e844e18590b371a2ac1a9 (diff)
Fixed compiler warning
xlogo.c:153: warning: format not a string literal and no format arguments
Diffstat (limited to 'xlogo.c')
-rw-r--r--xlogo.c2
1 files changed, 1 insertions, 1 deletions
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);
}