summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_output.c
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2000-01-07 00:57:54 +0000
committeritojun <itojun@openbsd.org>2000-01-07 00:57:54 +0000
commit396b7023498d7aa1d01f58d2e29662b9409eb158 (patch)
tree6f5174834bad3f1c9861fdd700345fa2c3ee4ec6 /sys/netinet/tcp_output.c
parentbuild libpthread AND libc_r for i386 (diff)
downloadwireguard-openbsd-396b7023498d7aa1d01f58d2e29662b9409eb158.tar.xz
wireguard-openbsd-396b7023498d7aa1d01f58d2e29662b9409eb158.zip
s/memset/bzero/
From: Michael Shalayeff <mickey@lucifier.dial-up.user.akula.net>
Diffstat (limited to 'sys/netinet/tcp_output.c')
-rw-r--r--sys/netinet/tcp_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
index fdccb07e017..6d6cf41dfa6 100644
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_output.c,v 1.28 1999/12/21 17:49:28 provos Exp $ */
+/* $OpenBSD: tcp_output.c,v 1.29 2000/01/07 00:57:54 itojun Exp $ */
/* $NetBSD: tcp_output.c,v 1.16 1997/06/03 16:17:09 kml Exp $ */
/*
@@ -807,7 +807,7 @@ send:
union sockaddr_union sa;
struct tdb *tdb;
- memset(&sa, 0, sizeof(union sockaddr_union));
+ bzero(&sa, sizeof(union sockaddr_union));
switch (tp->pf) {
case 0: /*default to PF_INET*/