summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2014-03-30 04:40:41 +0000
committereadler <eadler@FreeBSD.org>2014-03-30 04:40:41 +0000
commit2ee2a4fe9362a034e90b31195a67e68844c403a6 (patch)
tree0e332266ebec89fceae5aa49136b310c132b3cfd /lib/libc/sys
parenta87fd2475fce36ab799be5f91d538186fdcebb14 (diff)
downloadFreeBSD-src-2ee2a4fe9362a034e90b31195a67e68844c403a6.zip
FreeBSD-src-2ee2a4fe9362a034e90b31195a67e68844c403a6.tar.gz
Use the correct variable name in the example code.
Diffstat (limited to 'lib/libc/sys')
-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 8cdcf53..33b57e1 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