summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-09 21:25:42 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-09 21:25:42 +0800
commit6fb1864788deb3613a709338a86946dc4d45bc5a (patch)
tree541d48b51fca0d93c1390d230f6b1506c8fe27e6
parent07184306bd91f8f7112299dff6670ca7c6e01d2e (diff)
downloadpttbbs-6fb1864788deb3613a709338a86946dc4d45bc5a.tar
pttbbs-6fb1864788deb3613a709338a86946dc4d45bc5a.tar.gz
pttbbs-6fb1864788deb3613a709338a86946dc4d45bc5a.tar.bz2
pttbbs-6fb1864788deb3613a709338a86946dc4d45bc5a.tar.lz
pttbbs-6fb1864788deb3613a709338a86946dc4d45bc5a.tar.xz
pttbbs-6fb1864788deb3613a709338a86946dc4d45bc5a.tar.zst
pttbbs-6fb1864788deb3613a709338a86946dc4d45bc5a.zip
Fix compile error when not defining USE_HUGETLB.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2586 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--util/uhash_loader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/uhash_loader.c b/util/uhash_loader.c
index 731d96a7..3ab48b27 100644
--- a/util/uhash_loader.c
+++ b/util/uhash_loader.c
@@ -27,7 +27,7 @@ void load_uhash(void) {
#ifdef USE_HUGETLB
SHM_HUGETLB | 0666 |
#else
- 0600
+ 0600 |
#endif
IPC_CREAT | IPC_EXCL);
err = errno;
@@ -36,7 +36,7 @@ void load_uhash(void) {
#ifdef USE_HUGETLB
SHM_HUGETLB | 0666 |
#else
- 0600
+ 0600 |
#endif
IPC_CREAT | IPC_EXCL);