diff options
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 48151b7c..d3c00bdd 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -1,4 +1,4 @@ -/* $Id: cal.c,v 1.21 2003/01/16 11:58:04 kcwu Exp $ */ +/* $Id: cal.c,v 1.22 2003/01/16 13:51:27 in2 Exp $ */ #include "bbs.h" /* 防堵 Multi play */ @@ -431,6 +431,9 @@ p_sysinfo(void) MAX_ACTIVE, #endif COMPILE_TIME, ctime(&start_time)); + if (HAS_PERM(PERM_SYSOP)) { + prints("記憶體使用量: %d\n", ((int)sbrk(0) - 0x8048000) / 1024); + } pressanykey(); return 0; } |