summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-28 16:42:37 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-28 16:42:37 +0800
commit7530fa0b7383b691d6930a0e639703ba01cf4c9c (patch)
treedac39489fd9013ca312d93e8e95bb8320cd5c452
parent1fb05d7ed79c8f7857e141c4fbf5b633d02220fb (diff)
downloadpttbbs-7530fa0b7383b691d6930a0e639703ba01cf4c9c.tar
pttbbs-7530fa0b7383b691d6930a0e639703ba01cf4c9c.tar.gz
pttbbs-7530fa0b7383b691d6930a0e639703ba01cf4c9c.tar.bz2
pttbbs-7530fa0b7383b691d6930a0e639703ba01cf4c9c.tar.lz
pttbbs-7530fa0b7383b691d6930a0e639703ba01cf4c9c.tar.xz
pttbbs-7530fa0b7383b691d6930a0e639703ba01cf4c9c.tar.zst
pttbbs-7530fa0b7383b691d6930a0e639703ba01cf4c9c.zip
avoid format string bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@980 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/screen.c4
1 files 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