summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorThomas Nordin <nordin@cvs.openbsd.org>2002-01-25 05:44:07 +0000
committerThomas Nordin <nordin@cvs.openbsd.org>2002-01-25 05:44:07 +0000
commit2d3f789f9173e14ac9fed677999217b95b4b6667 (patch)
treeed596b0f026b3bab074b6048c06a445faaa2baf4 /sys/dev
parent80641731b7e56ad5176b6b47a66b4f1750503aae (diff)
Disestablish *powerhook* on detach. jason@ ok
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/xl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/xl.c b/sys/dev/ic/xl.c
index ee49b881c46..f0d053ea8d1 100644
--- a/sys/dev/ic/xl.c
+++ b/sys/dev/ic/xl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xl.c,v 1.32 2001/12/15 05:33:53 nordin Exp $ */
+/* $OpenBSD: xl.c,v 1.33 2002/01/25 05:44:06 nordin Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -2699,7 +2699,7 @@ xl_detach(sc)
if_detach(ifp);
shutdownhook_disestablish(sc->sc_sdhook);
- powerhook_disestablish(sc->sc_sdhook);
+ powerhook_disestablish(sc->sc_pwrhook);
return (0);
}