diff options
author | scottl <scottl@FreeBSD.org> | 2005-06-12 15:25:19 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2005-06-12 15:25:19 +0000 |
commit | 1e38a48400a5798ecc29c2b7edf9d0a83f08a5f5 (patch) | |
tree | d48bda144bed4d69a90dba2f6013d34eedcc7830 /sys/dev/snc | |
parent | 1ad4fd1131b259aaa193c0327523606b8e812288 (diff) | |
download | FreeBSD-src-1e38a48400a5798ecc29c2b7edf9d0a83f08a5f5.zip FreeBSD-src-1e38a48400a5798ecc29c2b7edf9d0a83f08a5f5.tar.gz |
change 'dev' to 'sc->sc_dev' to fix the build.
Approved: re (implicit)
Diffstat (limited to 'sys/dev/snc')
-rw-r--r-- | sys/dev/snc/dp83932.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/snc/dp83932.c b/sys/dev/snc/dp83932.c index 23fea5e..c32004b 100644 --- a/sys/dev/snc/dp83932.c +++ b/sys/dev/snc/dp83932.c @@ -166,7 +166,8 @@ sncconfig(sc, media, nmedia, defmedia, myea) ifp = sc->sc_ifp = if_alloc(IFT_ETHER); if (ifp == NULL) - panic("%s: can not if_alloc()\n", device_get_nameunit(dev)); + panic("%s: can not if_alloc()\n", + device_get_nameunit(sc->sc_dev)); #ifdef SNCDEBUG device_printf(sc->sc_dev, |