[ofa-general] [PATCH][TRIVIAL] libibmad/rpc.c: Better error message in madrpc_init

Hal Rosenstock hrosenstock at xsigo.com
Thu Jun 19 11:04:29 PDT 2008


libibmad/rpc.c: Better error message in madrpc_init

Signed-off-by: Hal Rosenstock <hal at xsigo.com>

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);
 	}
 }
 





More information about the general mailing list