summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-13 23:10:50 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-13 23:10:50 +0800
commit35b492a9df443c2418ad536027719672d6376ac9 (patch)
tree959a13572c28bb3c858c99addac82394ce679a35
parent927ecad5d6d60ca824b267da05bce2329d97a1b3 (diff)
downloadpttbbs-35b492a9df443c2418ad536027719672d6376ac9.tar
pttbbs-35b492a9df443c2418ad536027719672d6376ac9.tar.gz
pttbbs-35b492a9df443c2418ad536027719672d6376ac9.tar.bz2
pttbbs-35b492a9df443c2418ad536027719672d6376ac9.tar.lz
pttbbs-35b492a9df443c2418ad536027719672d6376ac9.tar.xz
pttbbs-35b492a9df443c2418ad536027719672d6376ac9.tar.zst
pttbbs-35b492a9df443c2418ad536027719672d6376ac9.zip
fix bug (UTMPnumber)
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@324 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--util/shmctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/shmctl.c b/util/shmctl.c
index 791926e7..adf08640 100644
--- a/util/shmctl.c
+++ b/util/shmctl.c
@@ -1,4 +1,4 @@
-/* $Id: shmctl.c,v 1.20 2002/06/06 21:42:47 in2 Exp $ */
+/* $Id: shmctl.c,v 1.21 2002/06/13 15:10:50 in2 Exp $ */
#include "bbs.h"
extern SHM_t *SHM;
@@ -127,7 +127,7 @@ int utmpstate(int argc, char **argv)
printf("now: %s\n", nowbuf);
printf("currsorted: %d\n", SHM->currsorted);
printf("uptime: %s\n", upbuf);
- printf("number: %d\n", SHM->number);
+ printf("number: %d\n", SHM->UTMPnumber);
printf("busystate: %d\n", SHM->UTMPbusystate);
return 0;
}