svn commit: r275566 - stable/10/lib/libc/sys
Brooks Davis
brooks at FreeBSD.org
Sat Dec 6 17:50:38 UTC 2014
Author: brooks
Date: Sat Dec 6 17:50:37 2014
New Revision: 275566
URL: https://svnweb.freebsd.org/changeset/base/275566
Log:
MFC r263928:
Use the correct variable name in the example code.
PR: 195749
Modified:
stable/10/lib/libc/sys/cap_rights_limit.2
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/lib/libc/sys/cap_rights_limit.2
==============================================================================
--- stable/10/lib/libc/sys/cap_rights_limit.2 Sat Dec 6 12:03:09 2014 (r275565)
+++ stable/10/lib/libc/sys/cap_rights_limit.2 Sat Dec 6 17:50:37 2014 (r275566)
@@ -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;
More information about the svn-src-stable
mailing list