git: 4569c022db0b - main - cap_dns: fix typos
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 May 2026 20:02:53 UTC
The branch main has been updated by oshogbo:
URL: https://cgit.FreeBSD.org/src/commit/?id=4569c022db0bd2242eed883c33207980ddb00019
commit 4569c022db0bd2242eed883c33207980ddb00019
Author: Mariusz Zaborski <oshogbo@FreeBSD.org>
AuthorDate: 2026-05-13 19:55:29 +0000
Commit: Mariusz Zaborski <oshogbo@FreeBSD.org>
CommitDate: 2026-05-13 19:59:37 +0000
cap_dns: fix typos
---
lib/libcasper/services/cap_dns/cap_dns.3 | 8 ++++----
1 file 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");