summaryrefslogtreecommitdiffstats
path: root/sys/dev/an/if_an.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-02-04 20:39:45 +0000
committerimp <imp@FreeBSD.org>2009-02-04 20:39:45 +0000
commitd59ba59489d8f06d2c11f023735dba2023e9ef08 (patch)
tree973a927b33d1be84650cc23ff658ab0b78a7922a /sys/dev/an/if_an.c
parent00c586aa2b7e4a0e599f2bacf44033ab4395efdb (diff)
downloadFreeBSD-src-d59ba59489d8f06d2c11f023735dba2023e9ef08.zip
FreeBSD-src-d59ba59489d8f06d2c11f023735dba2023e9ef08.tar.gz
Shutdown routine returns int.
Diffstat (limited to 'sys/dev/an/if_an.c')
-rw-r--r--sys/dev/an/if_an.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c
index ae9fc09..1d22322 100644
--- a/sys/dev/an/if_an.c
+++ b/sys/dev/an/if_an.c
@@ -2989,7 +2989,7 @@ an_watchdog(struct ifnet *ifp)
return;
}
-void
+int
an_shutdown(device_t dev)
{
struct an_softc *sc;
@@ -2998,7 +2998,7 @@ an_shutdown(device_t dev)
an_stop(sc);
sc->an_gone = 1;
- return;
+ return 0;
}
void
OpenPOWER on IntegriCloud