From owner-svn-src-head@FreeBSD.ORG Sun Mar 30 04:40:42 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7A3501BF; Sun, 30 Mar 2014 04:40:42 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 631C5FF5; Sun, 30 Mar 2014 04:40:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2U4eglo070548; Sun, 30 Mar 2014 04:40:42 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2U4eg42070547; Sun, 30 Mar 2014 04:40:42 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201403300440.s2U4eg42070547@svn.freebsd.org> From: Eitan Adler Date: Sun, 30 Mar 2014 04:40:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r263928 - head/lib/libc/sys X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2014 04:40:42 -0000 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;