[ofa-general] [PATCH][TRIVIAL] OpenSM/main.c: Fix compile error

Hal Rosenstock hrosenstock at xsigo.com
Mon Sep 17 16:59:58 PDT 2007


OpenSM/main.c: Fix compile error

Signed-off-by: Hal Rosenstock <hal at xsigo.com>

diff --git a/opensm/opensm/main.c b/opensm/opensm/main.c
index 9597cf1..0005531 100644
--- a/opensm/opensm/main.c
+++ b/opensm/opensm/main.c
@@ -1043,7 +1043,7 @@ int main(int argc, char *argv[])
 			if (strcmp(opt.console, "local") == 0
 #ifdef ENABLE_OSM_CONSOLE_SOCKET
 			    || strcmp(opt.console, "socket") == 0
-			    || strcmp(opt.console, "loopback") = 0
+			    || strcmp(opt.console, "loopback") == 0
 #endif
 			    )
 				osm_console(&osm);




More information about the general mailing list