about summary refs log tree commit diff
path: root/src/mman/munlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mman/munlock.c')
-rw-r--r--src/mman/munlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mman/munlock.c b/src/mman/munlock.c
index 0db59815..2cccef0c 100644
--- a/src/mman/munlock.c
+++ b/src/mman/munlock.c
@@ -3,5 +3,5 @@
 
 int munlock(const void *addr, size_t len)
 {
-	return syscall2(__NR_munlock, (long)addr, len);
+	return syscall(SYS_munlock, addr, len);
 }