summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/bbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 66b5d915..feb22b2a 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -588,7 +588,7 @@ do_general(int isbid)
if(i==0) i=8;
for(aborted=0; aborted<i; aborted++)
prints("%d.%4.4s ", i+1, ctype[i]);
- sprints(buf,"(1-%d或不選)",i);
+ sprintf(buf,"(1-%d或不選)",i);
getdata(21, 6+7*i, buf, save_title, 3, LCECHO);
local_article = save_title[0] - '1';
if (local_article >= 0 && local_article <= 6)