diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-11-05 01:19:14 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-11-05 01:19:14 +0000 |
commit | c5fbfc61015e0648c8af347ac6a35bde80ba9e5b (patch) | |
tree | 2d866fd09b0b7a2af3c32bc7a8215490392aeb24 /sys | |
parent | 8332337530b29e3156a5e9c2842f404a3a07ab9b (diff) |
s/memset/bzero/; art@ ok
Diffstat (limited to 'sys')
-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; |