summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2014-12-06 17:50:37 +0000
committerbrooks <brooks@FreeBSD.org>2014-12-06 17:50:37 +0000
commit0ba04a3a67b6fc3169882c2780b7a16c50ecb027 (patch)
tree1d99f0e7e4ef984e39fc71e13c6fd8f41c688332 /lib
parent72641b76c88fb7aeb11d5044ba93d541f8f7c4d6 (diff)
downloadFreeBSD-src-0ba04a3a67b6fc3169882c2780b7a16c50ecb027.zip
FreeBSD-src-0ba04a3a67b6fc3169882c2780b7a16c50ecb027.tar.gz
MFC r263928:
Use the correct variable name in the example code. PR: 195749
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