summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorzk194757 <none@none>2007-07-16 09:43:05 -0700
committerzk194757 <none@none>2007-07-16 09:43:05 -0700
commitc198d18e90b390e955c8766a91af6e2db1fccd57 (patch)
tree497828484ec6cf2e7b74a0cd71fffe9ee9b4d0d2 /usr/src
parent39773e466ff90ce703d7f52f3267d7e96c09c6f5 (diff)
downloadillumos-joyent-c198d18e90b390e955c8766a91af6e2db1fccd57.tar.gz
6556778 vnet does not handle ldc_init failure properly (fix build)
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/sun4v/io/vnet_gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/sun4v/io/vnet_gen.c b/usr/src/uts/sun4v/io/vnet_gen.c
index 9733094e27..e20b79b90a 100644
--- a/usr/src/uts/sun4v/io/vnet_gen.c
+++ b/usr/src/uts/sun4v/io/vnet_gen.c
@@ -1270,7 +1270,7 @@ vgen_mdeg_cb(void *cb_argp, mdeg_result_t *resp)
}
}
}
- if (vsw_idx == -1)
+ if (vsw_idx == -1) {
DWARN(vgenp, NULL, "can't find vsw_port\n");
mutex_exit(&vgenp->lock);
return (MDEG_FAILURE);