[ofa-general] [PATCH] opensm/main.c: Display SMSL when specified

Hal Rosenstock hnrose at comcast.net
Mon Jul 27 13:22:59 PDT 2009


Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>
---
diff --git a/opensm/opensm/main.c b/opensm/opensm/main.c
index 78aba68..35ca365 100644
--- a/opensm/opensm/main.c
+++ b/opensm/opensm/main.c
@@ -980,6 +980,7 @@ int main(int argc, char *argv[])
 				return (-1);
 			}
 			opt.sm_sl = (uint8_t) temp;
+			printf(" SMSL = %d\n", opt.sm_sl);
 			break;
 		case 'h':
 		case '?':



More information about the general mailing list