changeset 915:59467ba2e2b3

backout 4994268: causes 6346466
author dduvall
date Mon, 14 Nov 2005 18:39:32 -0800
parents b027be85f18b
children ed14fe603852
files usr/src/uts/common/os/modctl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/os/modctl.c	Mon Nov 14 18:06:55 2005 -0800
+++ b/usr/src/uts/common/os/modctl.c	Mon Nov 14 18:39:32 2005 -0800
@@ -2815,7 +2815,7 @@
 		return (0);
 
 	error = ndi_devi_unconfig_driver(ddi_root_node(),
-	    NDI_DETACH_DRIVER | NDI_UNCONFIG, major);
+	    NDI_DETACH_DRIVER, major);
 	return (error == NDI_SUCCESS ? 0 : -1);
 }