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
commitd72103b1c615b6d5dbeadf33b023377c80c50a9d (patch)
tree3cea13a6e6722c06ed42070c2b860f2506261cbc
parentb3a2405e063a320d8ef08ade53a62946a393c1f2 (diff)
downloadpttbbs-d72103b1c615b6d5dbeadf33b023377c80c50a9d.tar
pttbbs-d72103b1c615b6d5dbeadf33b023377c80c50a9d.tar.gz
pttbbs-d72103b1c615b6d5dbeadf33b023377c80c50a9d.tar.bz2
pttbbs-d72103b1c615b6d5dbeadf33b023377c80c50a9d.tar.lz
pttbbs-d72103b1c615b6d5dbeadf33b023377c80c50a9d.tar.xz
pttbbs-d72103b1c615b6d5dbeadf33b023377c80c50a9d.tar.zst
pttbbs-d72103b1c615b6d5dbeadf33b023377c80c50a9d.zip
fix bug (UTMPnumber)
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@324 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/util/shmctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/util/shmctl.c b/pttbbs/util/shmctl.c
index 791926e7..adf08640 100644
--- a/pttbbs/util/shmctl.c
+++ b/pttbbs/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;
}