diff options
Diffstat (limited to 'sys/net/if_sl.c')
-rw-r--r-- | sys/net/if_sl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c index 50888ee..f7bc1f2 100644 --- a/sys/net/if_sl.c +++ b/sys/net/if_sl.c @@ -251,8 +251,7 @@ slcreate() int unit; struct mbuf *m; - MALLOC(sc, struct sl_softc *, sizeof(*sc), M_SL, M_WAITOK); - bzero(sc, sizeof *sc); + MALLOC(sc, struct sl_softc *, sizeof(*sc), M_SL, M_WAITOK | M_ZERO); m = m_gethdr(M_WAIT, MT_DATA); if (m != NULL) { |