diff --git a/docs/man/man7/l4_unmap.7 b/docs/man/man7/l4_unmap.7 index 7f5e1dc..c8f3d7c 100755 --- a/docs/man/man7/l4_unmap.7 +++ b/docs/man/man7/l4_unmap.7 @@ -38,7 +38,7 @@ The thread to remove the mapping could not be found on the system. .B -ENOCAP Capabilities required don't exist or caller do not have sufficient privileges. -.B -1 +.B -ENOMAP There is already an unmapped area in one of the pages that were unmapped. This may or may not be an error, depending on what state the caller expects the unmapped area to be in. .SH SEE ALSO diff --git a/src/glue/arm/systable.c b/src/glue/arm/systable.c index 20ce209..d099bc8 100644 --- a/src/glue/arm/systable.c +++ b/src/glue/arm/systable.c @@ -99,9 +99,7 @@ int arch_sys_capability_control(syscall_context_t *regs) { return sys_capability_control((unsigned int)regs->r0, (unsigned int)regs->r1, - (l4id_t)regs->r2, - (l4id_t)regs->r3, - (void *)regs->r4); + (void *)regs->r2); } int arch_sys_container_control(syscall_context_t *regs)