summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2002-04-25 13:17:33 +0000
committerBruce Evans <bde@FreeBSD.org>2002-04-25 13:17:33 +0000
commitff557fa1a9e63570784933015b636883923d67c7 (patch)
treea8ee076e124fba0fc7f2f7873be3623b50aa6f6e
parentc628479a5735d24174af296c70b3367b015fa8f5 (diff)
Notes
-rw-r--r--sys/kern/kern_conf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c
index d0c988b26054..d1ce2fc40b78 100644
--- a/sys/kern/kern_conf.c
+++ b/sys/kern/kern_conf.c
@@ -398,6 +398,7 @@ destroy_dev(dev_t dev)
dev->si_drv1 = 0;
dev->si_drv2 = 0;
dev->si_devsw = 0;
+ bzero(&dev->__si_u, sizeof(dev->__si_u));
dev->si_flags &= ~SI_NAMED;
dev->si_flags &= ~SI_ALIAS;
freedev(dev);