summaryrefslogtreecommitdiffstats
path: root/util/shmctl.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-07 05:42:47 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-07 05:42:47 +0800
commit44ace6a0c2f9aa92ce44bcd6f8d97e6e25a899b1 (patch)
tree3c0f0449f924966930ad958f26151386a4bd7ea7 /util/shmctl.c
parent223f3276b226eaf9c4cec80a208e74e7434e615a (diff)
downloadpttbbs-44ace6a0c2f9aa92ce44bcd6f8d97e6e25a899b1.tar
pttbbs-44ace6a0c2f9aa92ce44bcd6f8d97e6e25a899b1.tar.gz
pttbbs-44ace6a0c2f9aa92ce44bcd6f8d97e6e25a899b1.tar.bz2
pttbbs-44ace6a0c2f9aa92ce44bcd6f8d97e6e25a899b1.tar.lz
pttbbs-44ace6a0c2f9aa92ce44bcd6f8d97e6e25a899b1.tar.xz
pttbbs-44ace6a0c2f9aa92ce44bcd6f8d97e6e25a899b1.tar.zst
pttbbs-44ace6a0c2f9aa92ce44bcd6f8d97e6e25a899b1.zip
fix bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@298 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/shmctl.c')
-rw-r--r--util/shmctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/shmctl.c b/util/shmctl.c
index e264eb48..791926e7 100644
--- a/util/shmctl.c
+++ b/util/shmctl.c
@@ -1,4 +1,4 @@
-/* $Id: shmctl.c,v 1.19 2002/06/06 21:34:14 in2 Exp $ */
+/* $Id: shmctl.c,v 1.20 2002/06/06 21:42:47 in2 Exp $ */
#include "bbs.h"
extern SHM_t *SHM;
@@ -253,7 +253,7 @@ int utmpwatch(int argc, char **argv)
int utmpnum(int argc, char **argv)
{
- printf("%d.0\n", SHM->number);
+ printf("%d.0\n", SHM->UTMPnumber);
return 0;
}