From 7530fa0b7383b691d6930a0e639703ba01cf4c9c Mon Sep 17 00:00:00 2001 From: kcwu Date: Sat, 28 Jun 2003 08:42:37 +0000 Subject: avoid format string bug git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@980 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mbbsd/screen.c b/mbbsd/screen.c index 832abfca..1f27dd86 100644 --- a/mbbsd/screen.c +++ b/mbbsd/screen.c @@ -1,4 +1,4 @@ -/* $Id: screen.c,v 1.15 2003/05/18 07:31:09 in2 Exp $ */ +/* $Id: screen.c,v 1.16 2003/06/28 08:42:37 kcwu Exp $ */ #include "bbs.h" #ifdef SUPPORT_GB @@ -498,7 +498,7 @@ mprints(int y, int x, char *str) { move(y, x); clrtoeol(); - prints(str); + prints("%s",str); } void -- cgit v1.2.3