From owner-svn-src-head@FreeBSD.ORG Mon Apr 14 18:14:09 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 A21C5E20; Mon, 14 Apr 2014 18:14:09 +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 8F26F18B0; Mon, 14 Apr 2014 18:14:09 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3EIE9hh066622; Mon, 14 Apr 2014 18:14:09 GMT (envelope-from gjb@svn.freebsd.org) Received: (from gjb@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3EIE9Jw066621; Mon, 14 Apr 2014 18:14:09 GMT (envelope-from gjb@svn.freebsd.org) Message-Id: <201404141814.s3EIE9Jw066621@svn.freebsd.org> From: Glen Barber Date: Mon, 14 Apr 2014 18:14:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r264466 - head/lib/libcapsicum 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: Mon, 14 Apr 2014 18:14:09 -0000 Author: gjb Date: Mon Apr 14 18:14:09 2014 New Revision: 264466 URL: http://svnweb.freebsd.org/changeset/base/264466 Log: Fix err() usage in libcapsicum(3) example. MFC after: 3 days Sponsored by: The FreeBSD Foundation Modified: head/lib/libcapsicum/libcapsicum.3 Modified: head/lib/libcapsicum/libcapsicum.3 ============================================================================== --- head/lib/libcapsicum/libcapsicum.3 Mon Apr 14 18:07:00 2014 (r264465) +++ head/lib/libcapsicum/libcapsicum.3 Mon Apr 14 18:14:09 2014 (r264466) @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 26, 2013 +.Dd April 14, 2014 .Dt LIBCAPSICUM 3 .Os .Sh NAME @@ -253,7 +253,7 @@ limits = nvlist_create(0); nvlist_add_string(limits, "type", "ADDR"); nvlist_add_number(limits, "family", (uint64_t)AF_INET); if (cap_limit_set(capdns, limits) < 0) - err("Unable to limit access to the system.dns service"); + err(1, "Unable to limit access to the system.dns service"); /* Convert IP address in C-string to in_addr. */ if (!inet_aton(ipstr, &ip))