diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-03-15 20:33:00 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-03-15 20:33:00 +0800 |
commit | a68cfa8e351251df28bca5c4afde981e8614edbb (patch) | |
tree | 48d240635a9da9f6575e781c32037a4a7bc1f63f /mbbsd | |
parent | b1062cb157940d044888a77097b2f55652dc2fc6 (diff) | |
download | pttbbs-a68cfa8e351251df28bca5c4afde981e8614edbb.tar pttbbs-a68cfa8e351251df28bca5c4afde981e8614edbb.tar.gz pttbbs-a68cfa8e351251df28bca5c4afde981e8614edbb.tar.bz2 pttbbs-a68cfa8e351251df28bca5c4afde981e8614edbb.tar.lz pttbbs-a68cfa8e351251df28bca5c4afde981e8614edbb.tar.xz pttbbs-a68cfa8e351251df28bca5c4afde981e8614edbb.tar.zst pttbbs-a68cfa8e351251df28bca5c4afde981e8614edbb.zip |
show if mbbsd is in CRITICAL_MEMORY mode
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@697 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/cal.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c index fe35bd7e..71091fac 100644 --- a/mbbsd/cal.c +++ b/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; |