From aa2f298a59658ad3e102fc95afb44995922edc7e Mon Sep 17 00:00:00 2001 From: bentley Date: Wed, 6 Mar 2024 07:29:37 +0000 Subject: [PATCH] POSIX defines inet_ntoa, not inet_aton. ok deraadt@ jmc@ --- lib/libc/net/inet_addr.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/net/inet_addr.3 b/lib/libc/net/inet_addr.3 index dec5a2ec16a..cbb9e14f6de 100644 --- a/lib/libc/net/inet_addr.3 +++ b/lib/libc/net/inet_addr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: inet_addr.3,v 1.6 2022/09/11 06:38:10 jmc Exp $ +.\" $OpenBSD: inet_addr.3,v 1.7 2024/03/06 07:29:37 bentley Exp $ .\" $NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $ .\" .\" Copyright (c) 1983, 1990, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)inet.3 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: September 11 2022 $ +.Dd $Mdocdate: March 6 2024 $ .Dt INET_ADDR 3 .Os .Sh NAME @@ -154,7 +154,7 @@ otherwise, the number is interpreted as decimal). The .Nm inet_addr and -.Nm inet_aton +.Nm inet_ntoa functions conform to .St -p1003.1-2008 . .Sh HISTORY -- 2.20.1