Message ID | 4B8E1D46.4090106@dev.mellanox.co.il (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/opensm/opensm/main.c b/opensm/opensm/main.c index f9a33af..5ea65dd 100644 --- a/opensm/opensm/main.c +++ b/opensm/opensm/main.c @@ -613,6 +613,9 @@ int main(int argc, char *argv[]) {NULL, 0, NULL, 0} /* Required at the end of the array */ }; + /* force stdout to be line-buffered */ + setlinebuf(stdout); + /* Make sure that the opensm and complib were compiled using same modes (debug/free) */ if (osm_is_debug() != cl_is_debug()) {