diff options
author | gjb <gjb@FreeBSD.org> | 2014-04-14 18:14:09 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2014-04-14 18:14:09 +0000 |
commit | 8663a7b710395901ebed110b7df72fb4604de9e3 (patch) | |
tree | 518435dd5cbac567b46493b203431bd555461b38 /lib | |
parent | b8219eb2c7c310db640922f83805343949756dd5 (diff) | |
download | FreeBSD-src-8663a7b710395901ebed110b7df72fb4604de9e3.zip FreeBSD-src-8663a7b710395901ebed110b7df72fb4604de9e3.tar.gz |
Fix err() usage in libcapsicum(3) example.
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcapsicum/libcapsicum.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcapsicum/libcapsicum.3 b/lib/libcapsicum/libcapsicum.3 index 6204a0e..efeec2f 100644 --- a/lib/libcapsicum/libcapsicum.3 +++ b/lib/libcapsicum/libcapsicum.3 @@ -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)) |