[openib-general] [PATCH] osm: OSM fails to bind - TRIVIAL message addition

Yevgeny Kliteynik kliteyn at mellanox.co.il
Sun Aug 27 03:16:30 PDT 2006


Hi Hal

This patch just makes the error message more informative for user,
since another instance of running SM is most probably the reason
why osm_opensm_bind failed.

Yevgeny

Signed-off-by:  Yevgeny Kliteynik <kliteyn at mellanox.co.il>

Index: opensm/main.c
===================================================================
--- opensm/main.c       (revision 9107)
+++ opensm/main.c       (working copy)
@@ -875,5 +914,6 @@ main(
   if( status != IB_SUCCESS )
   {
     printf( "\nError from osm_opensm_bind (0x%X)\n", status );
+    printf( "Perhaps another instance of SM is already running\n" );
     goto Exit;
   }






More information about the general mailing list