Hi Hal,
OSM log should be flushed when OSM_SYS_LOG message is
printed. We had this once, but somehow it has disappeared.
This fix has to go both to trunk and to 1.2.
Thanks,
--Yevgeny
Signed-off-by: Yevgeny Kliteynik <[EMAIL PROTECTED]>
---
osm/opensm/osm_log.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/osm/opensm/osm_log.c b/osm/opensm/osm_log.c
index d76031d..f95ed85 100644
--- a/osm/opensm/osm_log.c
+++ b/osm/opensm/osm_log.c
@@ -204,7 +204,8 @@ osm_log(
#endif
/* flush log */
- if (ret > 0 && (p_log->flush || (verbosity & OSM_LOG_ERROR)) &&
+ if ( ret > 0 &&
+ (p_log->flush || (verbosity & OSM_LOG_ERROR) || (verbosity &
OSM_LOG_SYS)) &&
fflush( p_log->out_port ) < 0)
ret = -1;
--
1.4.4.1.GIT
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general