On 16:23 Sun 25 Feb , Yevgeny Kliteynik wrote: > 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)) &&
verbosity & (OSM_LOG_ERROR|OSM_LOG_SYS)? Sasha _______________________________________________ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general