summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/munlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/munlock.c')
-rw-r--r--libc/sysdeps/linux/common/munlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/munlock.c b/libc/sysdeps/linux/common/munlock.c
index 80fd898fa..1d6870ecc 100644
--- a/libc/sysdeps/linux/common/munlock.c
+++ b/libc/sysdeps/linux/common/munlock.c
@@ -9,6 +9,6 @@
#include "syscalls.h"
#include <sys/mman.h>
-#if defined __ARCH_HAS_MMU__ && defined __NR_munlock
+#if defined __ARCH_USE_MMU__ && defined __NR_munlock
_syscall2(int, munlock, const void *, addr, size_t, len);
#endif