aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2021-11-29 22:03:00 +0000
committerBrooks Davis <brooks@FreeBSD.org>2021-11-29 22:04:47 +0000
commit6d37a1670b090a3224cbba8488b445c3990bf298 (patch)
tree8095edb43574fcc1d7326b68778939e0f4691561
parent401eec3635856b8f5b6b7961ebf372d1dd1fb60f (diff)
downloadsrc-6d37a1670b090a3224cbba8488b445c3990bf298.tar.gz
src-6d37a1670b090a3224cbba8488b445c3990bf298.zip
syscalls: mprotect does not take a const
The mprotect syscall decleration is not const. I added this one incorrectly in a944d28d0edf7ceb1bef4d789dfa4e8e18331658. Reported by: kib Reviewed by: kib, imp
-rw-r--r--sys/kern/syscalls.master2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 92cc727f22c9..543940fc2b97 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -534,7 +534,7 @@
}
74 AUE_MPROTECT STD|CAPENABLED {
int mprotect(
- _In_ const void *addr,
+ _In_ void *addr,
size_t len,
int prot
);