diff options
Diffstat (limited to 'sys/alpha/tc/am7990.c')
-rw-r--r-- | sys/alpha/tc/am7990.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/alpha/tc/am7990.c b/sys/alpha/tc/am7990.c index d734c155c3223..6c65f8248d467 100644 --- a/sys/alpha/tc/am7990.c +++ b/sys/alpha/tc/am7990.c @@ -1,4 +1,4 @@ -/* $Id: am7990.c,v 1.1 1998/08/20 08:27:10 dfr Exp $ */ +/* $Id$ */ /* $NetBSD: am7990.c,v 1.43 1998/03/29 22:36:42 mycroft Exp $ */ /*- @@ -194,8 +194,7 @@ am7990_config(sc) /* Make sure the chip is stopped. */ am7990_stop(sc); /* Initialize ifnet structure. */ - snprintf(sc->sc_dev.dv_xname, - sizeof(sc->sc_dev.dv_xname), "le%d", sc->unit); + sprintf(sc->sc_dev.dv_xname, "le%d", sc->unit); ifp->if_unit = sc->unit; ifp->if_name = "le"; ifp->if_softc = sc; |