libibmad/rpc.c: Better error message in madrpc_init

Signed-off-by: Hal Rosenstock <[EMAIL PROTECTED]>

diff --git a/libibmad/src/rpc.c b/libibmad/src/rpc.c
index 17f43b8..cb1940b 100644
--- a/libibmad/src/rpc.c
+++ b/libibmad/src/rpc.c
@@ -314,7 +314,7 @@ madrpc_init(char *dev_name, int dev_port, int 
*mgmt_classes, int num_classes)
                if (mgmt == IB_SA_CLASS)
                        rmpp_version = 1;
                if (mad_register_client(mgmt, rmpp_version) < 0)
-                       IBPANIC("client_register for mgmt %d failed", mgmt);
+                       IBPANIC("client_register for mgmt class %d failed", 
mgmt);
        }
 }
 


_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to