diff options
author | Bruce M Simpson <bms@FreeBSD.org> | 2004-07-06 03:34:16 +0000 |
---|---|---|
committer | Bruce M Simpson <bms@FreeBSD.org> | 2004-07-06 03:34:16 +0000 |
commit | ca28620f0d8eb5f8656c5f7c0eca6721f32819eb (patch) | |
tree | ef63230604930323c52845d5a6187792890caaa8 /sys/net/if_faith.c | |
parent | 9b3d77e7c99a6213111a9781c506c18ee85664f7 (diff) | |
download | src-ca28620f0d8eb5f8656c5f7c0eca6721f32819eb.tar.gz src-ca28620f0d8eb5f8656c5f7c0eca6721f32819eb.zip |
Use M_ZERO instead of bzero().
Notes
Notes:
svn path=/head/; revision=131675
Diffstat (limited to 'sys/net/if_faith.c')
-rw-r--r-- | sys/net/if_faith.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/if_faith.c b/sys/net/if_faith.c index 76d7546754ac..c8da1cd98e3b 100644 --- a/sys/net/if_faith.c +++ b/sys/net/if_faith.c @@ -165,8 +165,7 @@ faith_clone_create(ifc, unit) { struct faith_softc *sc; - sc = malloc(sizeof(struct faith_softc), M_FAITH, M_WAITOK); - bzero(sc, sizeof(struct faith_softc)); + sc = malloc(sizeof(struct faith_softc), M_FAITH, M_WAITOK | M_ZERO); sc->sc_if.if_softc = sc; if_initname(&sc->sc_if, ifc->ifc_name, unit); |