diff options
| author | 2014-01-21 01:48:44 +0000 | |
|---|---|---|
| committer | 2014-01-21 01:48:44 +0000 | |
| commit | 91ba896db697da68a85cad0ccf0e596c2e766af5 (patch) | |
| tree | 239fb63a3973e6123aad5b4c47ed9a2cc65139b8 /sys/kern/subr_extent.c | |
| parent | naughty guenther didn't compile (diff) | |
| download | wireguard-openbsd-91ba896db697da68a85cad0ccf0e596c2e766af5.tar.xz wireguard-openbsd-91ba896db697da68a85cad0ccf0e596c2e766af5.zip | |
bzero -> memset
Diffstat (limited to 'sys/kern/subr_extent.c')
| -rw-r--r-- | sys/kern/subr_extent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_extent.c b/sys/kern/subr_extent.c index 98b52baab84..65449463750 100644 --- a/sys/kern/subr_extent.c +++ b/sys/kern/subr_extent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_extent.c,v 1.48 2013/08/08 23:25:06 syl Exp $ */ +/* $OpenBSD: subr_extent.c,v 1.49 2014/01/21 01:48:44 tedu Exp $ */ /* $NetBSD: subr_extent.c,v 1.7 1996/11/21 18:46:34 cgd Exp $ */ /*- @@ -188,7 +188,7 @@ extent_create(char *name, u_long start, u_long end, int mtype, caddr_t storage, if (fixed_extent) { struct extent_fixed *fex; - bzero(storage, storagesize); + memset(storage, 0, storagesize); /* * Align all descriptors on "long" boundaries. |
