summaryrefslogtreecommitdiffstats
path: root/mbbsd/syspost.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/syspost.c')
-rw-r--r--mbbsd/syspost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/syspost.c b/mbbsd/syspost.c
index 39ccf97e..284e5fb4 100644
--- a/mbbsd/syspost.c
+++ b/mbbsd/syspost.c
@@ -21,7 +21,7 @@ post_msg(char *bname, char *title, char *msg, char *author)
fprintf(fp, "時間: %s\n", ctime(&now));
/* 文章的內容 */
- fprintf(fp, "%s", msg);
+ fputs(msg, fp);
fclose(fp);
/* 將檔案加入列表 */