summaryrefslogtreecommitdiff
path: root/sys/dev/streams/streams.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-11-08 07:44:01 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-11-08 07:44:01 +0000
commit44d1184e81b347d864ad05c21b5c56b1a2f27376 (patch)
treec6a05e39f77f1d5004dc625237daada92e03a4e6 /sys/dev/streams/streams.c
parentc6b92dec5e07c238f15b17a67527533aaa05f5e7 (diff)
Notes
Diffstat (limited to 'sys/dev/streams/streams.c')
-rw-r--r--sys/dev/streams/streams.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/dev/streams/streams.c b/sys/dev/streams/streams.c
index 78997fe91a70..f4c89e06d0ee 100644
--- a/sys/dev/streams/streams.c
+++ b/sys/dev/streams/streams.c
@@ -164,16 +164,16 @@ streams_modevent(module_t mod, int type, void *unused)
return 0;
case MOD_UNLOAD:
/* XXX should check to see if it's busy first */
- remove_dev(dt_ptm);
- remove_dev(dt_arp);
- remove_dev(dt_icmp);
- remove_dev(dt_ip);
- remove_dev(dt_tcp);
- remove_dev(dt_udp);
- remove_dev(dt_rawip);
- remove_dev(dt_unix_dgram);
- remove_dev(dt_unix_stream);
- remove_dev(dt_unix_ord_stream);
+ destroy_dev(dt_ptm);
+ destroy_dev(dt_arp);
+ destroy_dev(dt_icmp);
+ destroy_dev(dt_ip);
+ destroy_dev(dt_tcp);
+ destroy_dev(dt_udp);
+ destroy_dev(dt_rawip);
+ destroy_dev(dt_unix_dgram);
+ destroy_dev(dt_unix_stream);
+ destroy_dev(dt_unix_ord_stream);
return 0;
default: