changeset 4666:3ec3cf334614

6556778 vnet does not handle ldc_init failure properly (fix build)
author zk194757
date Mon, 16 Jul 2007 09:43:05 -0700
parents 7559cdd1a09e
children 2cb417b1d90c
files usr/src/uts/sun4v/io/vnet_gen.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/sun4v/io/vnet_gen.c	Mon Jul 16 08:53:51 2007 -0700
+++ b/usr/src/uts/sun4v/io/vnet_gen.c	Mon Jul 16 09:43:05 2007 -0700
@@ -1270,7 +1270,7 @@
 				}
 			}
 		}
-		if (vsw_idx == -1)
+		if (vsw_idx == -1) {
 			DWARN(vgenp, NULL, "can't find vsw_port\n");
 			mutex_exit(&vgenp->lock);
 			return (MDEG_FAILURE);