summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/cap_rights_limit.22
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sys/cap_rights_limit.2 b/lib/libc/sys/cap_rights_limit.2
index d17533f..2b95d59 100644
--- a/lib/libc/sys/cap_rights_limit.2
+++ b/lib/libc/sys/cap_rights_limit.2
@@ -86,7 +86,7 @@ manual page.
The following example demonstrates how to limit file descriptor capability
rights to allow reading only.
.Bd -literal
-cap_rights_t rights;
+cap_rights_t setrights;
char buf[1];
int fd;
OpenPOWER on IntegriCloud