diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-08-22 11:05:37 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-08-22 11:05:37 +0000 |
commit | 9760737bfb3e138e64896656dea2c9f4736d3505 (patch) | |
tree | 38ba79d03b19dc0be24b24fb10ba7c445c4110bd /sys/cddl/dev/dtrace | |
parent | ed2c978b97cc24c25bfb908744f42b613c2915cd (diff) | |
download | FreeBSD-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.c | 1 |
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); |