summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/io/pci_pci/pci_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/pci_pci/pci_pci.c b/usr/src/uts/common/io/pci_pci/pci_pci.c
index 1e01271157..092bfb9599 100644
--- a/usr/src/uts/common/io/pci_pci/pci_pci.c
+++ b/usr/src/uts/common/io/pci_pci/pci_pci.c
@@ -509,7 +509,7 @@ ppb_initchild(dev_info_t *child)
* Try to merge the properties from this prototype
* node into real h/w nodes.
*/
- if (ndi_merge_node(child, ppb_name_child) != DDI_SUCCESS) {
+ if (ndi_merge_node(child, ppb_name_child) == DDI_SUCCESS) {
/*
* Merged ok - return failure to remove the node.
*/