summaryrefslogtreecommitdiff
path: root/sys/modules/lua
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2013-12-02 12:29:44 +0000
committerjoerg <joerg@NetBSD.org>2013-12-02 12:29:44 +0000
commitfe314298bd523cc12538a76c874d3cab66f783dd (patch)
treebe26d362cc3ce2ff8f7193d7bb7ecfcb726153eb /sys/modules/lua
parentd45a58e9100f04770db0bfcf2414144f3b1ee9f0 (diff)
Let's use a format string, shall we?
Diffstat (limited to 'sys/modules/lua')
-rw-r--r--sys/modules/lua/stdio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/lua/stdio.h b/sys/modules/lua/stdio.h
index 218aae482e6..da5822ea416 100644
--- a/sys/modules/lua/stdio.h
+++ b/sys/modules/lua/stdio.h
@@ -43,7 +43,7 @@
#define putchar(c) printf("%c", c)
-#define fputs(s, f) printf(s)
+#define fputs(s, f) printf("%s", s)
#endif