diff options
author | 1999-11-05 01:19:13 +0000 | |
---|---|---|
committer | 1999-11-05 01:19:13 +0000 | |
commit | afca1ce2cee69c939f98b386f4470bfd1d87e826 (patch) | |
tree | ae3425cb21a49041b11aa42b97d60e41ab473684 /sys/kern/kern_physio.c | |
parent | more stack direction fixes; art@ ok (diff) | |
download | wireguard-openbsd-afca1ce2cee69c939f98b386f4470bfd1d87e826.tar.xz wireguard-openbsd-afca1ce2cee69c939f98b386f4470bfd1d87e826.zip |
s/memset/bzero/; art@ ok
Diffstat (limited to 'sys/kern/kern_physio.c')
-rw-r--r-- | sys/kern/kern_physio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_physio.c b/sys/kern/kern_physio.c index 0a939d7ed72..967ea544872 100644 --- a/sys/kern/kern_physio.c +++ b/sys/kern/kern_physio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_physio.c,v 1.5 1999/02/26 05:13:22 art Exp $ */ +/* $OpenBSD: kern_physio.c,v 1.6 1999/11/05 01:19:13 mickey Exp $ */ /* $NetBSD: kern_physio.c,v 1.28 1997/05/19 10:43:28 pk Exp $ */ /*- @@ -302,7 +302,7 @@ getphysbuf() #else bp = malloc(sizeof(*bp), M_TEMP, M_WAITOK); - memset(bp, 0, sizeof(*bp)); + bzero(bp, sizeof(*bp)); /* XXXCDC: are the following two lines necessary? */ bp->b_rcred = bp->b_wcred = NOCRED; |