summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2012-05-12 00:42:28 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2012-05-12 00:42:28 +0800
commit677d6ce6efc201e72699537d6fd7674e1a423d23 (patch)
tree1b3b4f969ed8d4dc76ea138b8f062b3a0ca1af81
parent15cbfbdbba8d08e3b1927d0e308c10813134ca7e (diff)
downloadpttbbs-677d6ce6efc201e72699537d6fd7674e1a423d23.tar
pttbbs-677d6ce6efc201e72699537d6fd7674e1a423d23.tar.gz
pttbbs-677d6ce6efc201e72699537d6fd7674e1a423d23.tar.bz2
pttbbs-677d6ce6efc201e72699537d6fd7674e1a423d23.tar.lz
pttbbs-677d6ce6efc201e72699537d6fd7674e1a423d23.tar.xz
pttbbs-677d6ce6efc201e72699537d6fd7674e1a423d23.tar.zst
pttbbs-677d6ce6efc201e72699537d6fd7674e1a423d23.zip
fix clang format string warning
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5680 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/mail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/mail.c b/pttbbs/mbbsd/mail.c
index d47e41a6..6a56d1af 100644
--- a/pttbbs/mbbsd/mail.c
+++ b/pttbbs/mbbsd/mail.c
@@ -201,7 +201,7 @@ mail_log2id_text(const char *id, const char *title, const char *message,
strlcpy(mhdr.owner, owner, sizeof(mhdr.owner));
strlcpy(mhdr.title, title, sizeof(mhdr.title));
mhdr.filemode = newmail ? 0 : FILE_READ;
- log_filef(dst, LOG_CREAT, message);
+ log_filef(dst, LOG_CREAT, "%s", message);
sethomedir(dirf, id);
append_record(dirf, &mhdr, sizeof(mhdr));