diff options
author | luigi <luigi@FreeBSD.org> | 2002-04-04 06:03:17 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2002-04-04 06:03:17 +0000 |
commit | f7c71ab2f29c53a642d5f4d6ecb7ad935a9f8543 (patch) | |
tree | 19dedffc82b2d9d2971f10ae05dd695f70b25f03 /sys/net/if_sl.c | |
parent | 707ff463e26353854b4169a90551bf383e387d2b (diff) | |
download | FreeBSD-src-f7c71ab2f29c53a642d5f4d6ecb7ad935a9f8543.zip FreeBSD-src-f7c71ab2f29c53a642d5f4d6ecb7ad935a9f8543.tar.gz |
Replace (deprecated ?) FREE() macro with direct calls to free()
Diffstat (limited to 'sys/net/if_sl.c')
-rw-r--r-- | sys/net/if_sl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c index c8e284a..687e9bb 100644 --- a/sys/net/if_sl.c +++ b/sys/net/if_sl.c @@ -251,7 +251,7 @@ slmarkstatic(unit) if (st_unit_list) { bcopy(st_unit_list, t, sizeof(int) * st_unit_max); - FREE(st_unit_list, M_SL); + free(st_unit_list, M_SL); } st_unit_list = t; st_unit_list[st_unit_max] = unit; @@ -278,7 +278,7 @@ slcreate() if (m == NULL) { printf("sl: can't allocate buffer\n"); - FREE(sc, M_SL); + free(sc, M_SL); return (NULL); } @@ -388,8 +388,8 @@ sldestroy(struct sl_softc *sc) m_free(sc->sc_mbuf); mtx_destroy(&sc->sc_fastq.ifq_mtx); if (sc->bpfbuf) - FREE(sc->bpfbuf, M_SL); - FREE(sc, M_SL); + free(sc->bpfbuf, M_SL); + free(sc, M_SL); } /* |