Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/modules/lua Let's use a format string, shall we?



details:   https://anonhg.NetBSD.org/src/rev/44af5a2f87f5
branches:  trunk
changeset: 325058:44af5a2f87f5
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Dec 02 12:29:44 2013 +0000

description:
Let's use a format string, shall we?

diffstat:

 sys/modules/lua/stdio.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 1353fbd3c5ca -r 44af5a2f87f5 sys/modules/lua/stdio.h
--- a/sys/modules/lua/stdio.h   Mon Dec 02 12:20:44 2013 +0000
+++ b/sys/modules/lua/stdio.h   Mon Dec 02 12:29:44 2013 +0000
@@ -43,7 +43,7 @@
 
 #define putchar(c)     printf("%c", c)
 
-#define fputs(s, f)    printf(s)
+#define fputs(s, f)    printf("%s", s)
 
 #endif
 



Home | Main Index | Thread Index | Old Index