[ofa-general] [PATCH] opensm/main.c: trivial usage message formatting fix

Sasha Khapyorsky sashak at voltaire.com
Tue Oct 7 18:22:48 PDT 2008


Add new line at end of LMC value check message - "ERROR: LMC must be 7 or
less.".

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
 opensm/opensm/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opensm/opensm/main.c b/opensm/opensm/main.c
index 2f53157..65adb9a 100644
--- a/opensm/opensm/main.c
+++ b/opensm/opensm/main.c
@@ -773,7 +773,7 @@ int main(int argc, char *argv[])
 			temp = strtol(optarg, NULL, 0);
 			if (temp > 7) {
 				fprintf(stderr,
-					"ERROR: LMC must be 7 or less.");
+					"ERROR: LMC must be 7 or less.\n");
 				return (-1);
 			}
 			opt.lmc = (uint8_t) temp;
-- 
1.6.0.1.196.g01914




More information about the general mailing list