aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Zaborski <oshogbo@FreeBSD.org>2026-05-13 19:55:29 +0000
committerMariusz Zaborski <oshogbo@FreeBSD.org>2026-05-13 19:59:37 +0000
commit4569c022db0bd2242eed883c33207980ddb00019 (patch)
treeadcd5249642f0323538dcae43a828b0054f25a46
parent69e9d5d306699d40148256722d7240dbb5da8fb5 (diff)
cap_dns: fix typos
-rw-r--r--lib/libcasper/services/cap_dns/cap_dns.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libcasper/services/cap_dns/cap_dns.3 b/lib/libcasper/services/cap_dns/cap_dns.3
index d6bbb6bd1263..23e09d1f8c13 100644
--- a/lib/libcasper/services/cap_dns/cap_dns.3
+++ b/lib/libcasper/services/cap_dns/cap_dns.3
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd August 15, 2020
+.Dd May 13, 2026
.Dt CAP_DNS 3
.Os
.Sh NAME
@@ -74,7 +74,7 @@ functions.
The functions
.Fn cap_gethostbyname ,
.Fn cap_gethostbyname2 ,
-.Fn cep_gethostbyaddr
+.Fn cap_gethostbyaddr
and
.Fn cap_getnameinfo
are respectively equivalent to
@@ -100,7 +100,7 @@ See the
.Sx LIMITS
section for more details.
The
-.Fa ntpyes
+.Fa ntypes
variable contains the number of
.Fa types
provided.
@@ -190,7 +190,7 @@ if (capdns == NULL)
/* Close Casper capability, we don't need it anymore. */
cap_close(capcas);
-/* Limit system.dns to reserve IPv4 addresses */
+/* Limit system.dns to resolve IPv4 addresses */
familylimit = AF_INET;
if (cap_dns_family_limit(capdns, &familylimit, 1) < 0)
err(1, "Unable to limit access to the system.dns service");