summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-15 20:33:00 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-15 20:33:00 +0800
commit64b01299e64d6e777998fa2abe6758d4eab28891 (patch)
treef0bddb519b0586fb6b2451fa0e2118654943132c
parenta4b817990639a49e6e7fa40f718ce01288adba28 (diff)
downloadpttbbs-64b01299e64d6e777998fa2abe6758d4eab28891.tar
pttbbs-64b01299e64d6e777998fa2abe6758d4eab28891.tar.gz
pttbbs-64b01299e64d6e777998fa2abe6758d4eab28891.tar.bz2
pttbbs-64b01299e64d6e777998fa2abe6758d4eab28891.tar.lz
pttbbs-64b01299e64d6e777998fa2abe6758d4eab28891.tar.xz
pttbbs-64b01299e64d6e777998fa2abe6758d4eab28891.tar.zst
pttbbs-64b01299e64d6e777998fa2abe6758d4eab28891.zip
show if mbbsd is in CRITICAL_MEMORY mode
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@697 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/cal.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/cal.c b/pttbbs/mbbsd/cal.c
index fe35bd7e..71091fac 100644
--- a/pttbbs/mbbsd/cal.c
+++ b/pttbbs/mbbsd/cal.c
@@ -1,4 +1,4 @@
-/* $Id: cal.c,v 1.23 2003/01/19 16:06:06 kcwu Exp $ */
+/* $Id: cal.c,v 1.24 2003/03/15 12:33:00 in2 Exp $ */
#include "bbs.h"
/* 防堵 Multi play */
@@ -434,6 +434,9 @@ p_sysinfo(void)
COMPILE_TIME, ctime(&start_time));
if (HAS_PERM(PERM_SYSOP)) {
prints("記憶體使用量: %d\n", ((int)sbrk(0) - 0x8048000) / 1024);
+#ifdef CRITICAL_MEMORY
+ prints("目前在 CRITICAL_MEMORY 模式下\n");
+#endif
}
pressanykey();
return 0;