Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2014 04:40:42 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r263928 - head/lib/libc/sys
Message-ID:  <201403300440.s2U4eg42070547@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sun Mar 30 04:40:41 2014
New Revision: 263928
URL: http://svnweb.freebsd.org/changeset/base/263928

Log:
  Use the correct variable name in the example code.

Modified:
  head/lib/libc/sys/cap_rights_limit.2

Modified: head/lib/libc/sys/cap_rights_limit.2
==============================================================================
--- head/lib/libc/sys/cap_rights_limit.2	Sun Mar 30 00:25:31 2014	(r263927)
+++ head/lib/libc/sys/cap_rights_limit.2	Sun Mar 30 04:40:41 2014	(r263928)
@@ -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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403300440.s2U4eg42070547>