[ofa-general] [PATCH] opensm/main.c: Display LASH start VL when specified

Hal Rosenstock hnrose at comcast.net
Wed Jul 22 11:59:40 PDT 2009


Also, cosmetic formatting change

Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>
---
diff --git a/opensm/opensm/main.c b/opensm/opensm/main.c
index d682ff5..62242f4 100644
--- a/opensm/opensm/main.c
+++ b/opensm/opensm/main.c
@@ -910,7 +910,7 @@ int main(int argc, char *argv[])
 			printf(" I/O Node Guid File: %s\n", opt.io_guid_file);
 			break;
 		case 'H':
-			opt.max_reverse_hops =  atoi(optarg);
+			opt.max_reverse_hops = atoi(optarg);
 			printf(" Max Reverse Hops: %d\n", opt.max_reverse_hops);
 			break;
 		case 'm':
@@ -964,6 +964,7 @@ int main(int argc, char *argv[])
 				return (-1);
 			}
 			opt.lash_start_vl = (uint8_t) temp;
+			printf(" LASH starting VL = %d\n", opt.lash_start_vl);
 			break;
 		case 'h':
 		case '?':



More information about the general mailing list