summaryrefslogtreecommitdiff
path: root/usr/src/lib
diff options
context:
space:
mode:
authorcindi <none@none>2007-01-17 13:28:22 -0800
committercindi <none@none>2007-01-17 13:28:22 -0800
commit6190f16aef6d374e3f5f686f9e270b5057c12b2a (patch)
tree974d6801a6435bdb99102d93c2558985aa03bd0c /usr/src/lib
parentd04ccbb3f3163ae5962a8b7465d9796bff6ca434 (diff)
downloadillumos-gate-6190f16aef6d374e3f5f686f9e270b5057c12b2a.tar.gz
6513804 fmtopo assertion hit when hostbridge and pcibus enumerators can't construct module property
Diffstat (limited to 'usr/src/lib')
-rw-r--r--usr/src/lib/fm/topo/modules/common/pcibus/did_props.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/fm/topo/modules/common/pcibus/did_props.c b/usr/src/lib/fm/topo/modules/common/pcibus/did_props.c
index e3f8a50a68..f7f152cf08 100644
--- a/usr/src/lib/fm/topo/modules/common/pcibus/did_props.c
+++ b/usr/src/lib/fm/topo/modules/common/pcibus/did_props.c
@@ -20,7 +20,7 @@
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -628,7 +628,7 @@ MODULEprop_set(tnode_t *tn, did_t *pd,
mp = did_mod(pd);
if ((mod = topo_mod_modfmri(mp, FM_MOD_SCHEME_VERSION, dnm)) == NULL)
- return (-1); /* mod errno set */
+ return (0); /* driver maybe detached, return success */
if (topo_prop_set_fmri(tn, tpgrp, tpnm, TOPO_PROP_IMMUTABLE, mod,
&err) < 0) {