summaryrefslogtreecommitdiff
path: root/lib/libc/net
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2022-04-13 22:17:34 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2022-04-13 22:17:34 +0000
commit480567900e2192f78a854120d76d9d1b954c3cde (patch)
treeb9a75f69474bb0f188b01123b252158e462ceba4 /lib/libc/net
parent0152aa53755707cd212aff33937e30eff22da848 (diff)
Fix typo in last commit.
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/inet_net_pton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/inet_net_pton.c b/lib/libc/net/inet_net_pton.c
index 610036605dd..f9c6e7334b2 100644
--- a/lib/libc/net/inet_net_pton.c
+++ b/lib/libc/net/inet_net_pton.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inet_net_pton.c,v 1.12 2022/04/13 16:20:11 millert Exp $ */
+/* $OpenBSD: inet_net_pton.c,v 1.13 2022/04/13 22:17:33 millert Exp $ */
/*
* 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)
struct in6_addr in6;
int ret;
int bits;
- size_t bytes
+ size_t bytes;
char buf[INET6_ADDRSTRLEN + sizeof("/128")];
char *sep;
const char *errstr;