summaryrefslogtreecommitdiffstats
path: root/sys/cddl/dev/dtrace
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2010-08-22 11:05:37 +0000
committerrpaulo <rpaulo@FreeBSD.org>2010-08-22 11:05:37 +0000
commit9760737bfb3e138e64896656dea2c9f4736d3505 (patch)
tree38ba79d03b19dc0be24b24fb10ba7c445c4110bd /sys/cddl/dev/dtrace
parented2c978b97cc24c25bfb908744f42b613c2915cd (diff)
downloadFreeBSD-src-9760737bfb3e138e64896656dea2c9f4736d3505.zip
FreeBSD-src-9760737bfb3e138e64896656dea2c9f4736d3505.tar.gz
Destroy the helper device when unloading.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/cddl/dev/dtrace')
-rw-r--r--sys/cddl/dev/dtrace/dtrace_unload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/cddl/dev/dtrace/dtrace_unload.c b/sys/cddl/dev/dtrace/dtrace_unload.c
index 40b09dc..247cbb1 100644
--- a/sys/cddl/dev/dtrace/dtrace_unload.c
+++ b/sys/cddl/dev/dtrace/dtrace_unload.c
@@ -43,6 +43,7 @@ dtrace_unload()
}
#else
destroy_dev(dtrace_dev);
+ destroy_dev(helper_dev);
#endif
mutex_enter(&dtrace_provider_lock);
OpenPOWER on IntegriCloud