summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwez <wez@1665872d-e22b-0410-9e5d-a57ad4215e6d>2007-03-17 17:34:33 +0000
committerwez <wez@1665872d-e22b-0410-9e5d-a57ad4215e6d>2007-03-17 17:34:33 +0000
commit7ed46eced071916ad0a6d614b597cc087d9e5fb2 (patch)
treebb5693de3fc1fe85bc476909840ea12454ad3b43
parent8f4d473950a16e56d6d335dd716557ca809eece4 (diff)
downloadportableumem-7ed46eced071916ad0a6d614b597cc087d9e5fb2.tar.gz
fix typo and build on osx
git-svn-id: https://labs.omniti.com/portableumem/trunk@29 1665872d-e22b-0410-9e5d-a57ad4215e6d
-rw-r--r--init_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init_lib.c b/init_lib.c
index a6461bb..bc1b381 100644
--- a/init_lib.c
+++ b/init_lib.c
@@ -88,7 +88,7 @@ umem_type_init(caddr_t start, size_t len, size_t pgsize)
SYSTEM_INFO info;
GetSystemInfo(&info);
pagesize = info.dwPageSize;
-#elseif !defined(__FreeBSD__)
+#elif !defined(__FreeBSD__)
pagesize = _sysconf(_SC_PAGESIZE);
#else
pagesize = PAGE_SIZE;