summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormillert <>2022-04-13 22:17:33 +0000
committermillert <>2022-04-13 22:17:33 +0000
commit9a7afdc905b171e315988f6cd55c81595af9e132 (patch)
tree876c287c9372c252af36d5c39524dc7b2e87f852
parent0e1b851ca91c98cb510341b07f455ae8cdca7709 (diff)
downloadopenbsd-9a7afdc905b171e315988f6cd55c81595af9e132.tar.gz
openbsd-9a7afdc905b171e315988f6cd55c81595af9e132.tar.bz2
openbsd-9a7afdc905b171e315988f6cd55c81595af9e132.zip
Fix typo in last commit.
-rw-r--r--src/lib/libc/net/inet_net_pton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/net/inet_net_pton.c b/src/lib/libc/net/inet_net_pton.c
index 610036605d..f9c6e7334b 100644
--- a/src/lib/libc/net/inet_net_pton.c
+++ b/src/lib/libc/net/inet_net_pton.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: inet_net_pton.c,v 1.12 2022/04/13 16:20:11 millert Exp $ */ 1/* $OpenBSD: inet_net_pton.c,v 1.13 2022/04/13 22:17:33 millert Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2012 by Gilles Chehade <gilles@openbsd.org> 4 * Copyright (c) 2012 by Gilles Chehade <gilles@openbsd.org>
@@ -208,7 +208,7 @@ inet_net_pton_ipv6(const char *src, u_char *dst, size_t size)
208 struct in6_addr in6; 208 struct in6_addr in6;
209 int ret; 209 int ret;
210 int bits; 210 int bits;
211 size_t bytes 211 size_t bytes;
212 char buf[INET6_ADDRSTRLEN + sizeof("/128")]; 212 char buf[INET6_ADDRSTRLEN + sizeof("/128")];
213 char *sep; 213 char *sep;
214 const char *errstr; 214 const char *errstr;