summaryrefslogtreecommitdiffstats
path: root/util/userlist.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-09 10:54:02 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-09 10:54:02 +0800
commita9ab0dab6e86c98cfb4fb80db1ba56d51a3c0daa (patch)
tree4d0298cfc9f25284f9a4ab923cae423b40366563 /util/userlist.c
parent085c9a93cf63c5511f28005deb06f8ba25c8b667 (diff)
downloadpttbbs-a9ab0dab6e86c98cfb4fb80db1ba56d51a3c0daa.tar
pttbbs-a9ab0dab6e86c98cfb4fb80db1ba56d51a3c0daa.tar.gz
pttbbs-a9ab0dab6e86c98cfb4fb80db1ba56d51a3c0daa.tar.bz2
pttbbs-a9ab0dab6e86c98cfb4fb80db1ba56d51a3c0daa.tar.lz
pttbbs-a9ab0dab6e86c98cfb4fb80db1ba56d51a3c0daa.tar.xz
pttbbs-a9ab0dab6e86c98cfb4fb80db1ba56d51a3c0daa.tar.zst
pttbbs-a9ab0dab6e86c98cfb4fb80db1ba56d51a3c0daa.zip
fix alignment and permission problems when USE_HUGETLB.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2583 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/userlist.c')
-rw-r--r--util/userlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/userlist.c b/util/userlist.c
index cecc3ee6..8c701478 100644
--- a/util/userlist.c
+++ b/util/userlist.c
@@ -6,7 +6,7 @@ SHM_t *SHM;
int main(int argc, char **argv) {
int i, shm, counter;
- shm = shmget(SHM_KEY, USHM_SIZE,
+ shm = shmget(SHM_KEY, SHMSIZE,
#ifdef USE_HUGETLB
SHM_HUGETLB |
#endif