diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-07 05:42:47 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-07 05:42:47 +0800 |
commit | 44ace6a0c2f9aa92ce44bcd6f8d97e6e25a899b1 (patch) | |
tree | 3c0f0449f924966930ad958f26151386a4bd7ea7 /util/shmctl.c | |
parent | 223f3276b226eaf9c4cec80a208e74e7434e615a (diff) | |
download | pttbbs-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.c | 4 |
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; } |