[ofa-general] [PATCH] infiniband-diags/saquery.c: Update for change to osm_mad_pool_init API
Hal Rosenstock
hrosenstock at xsigo.com
Tue Jun 3 06:01:28 PDT 2008
infiniband-diags/saquery.c: Update for change to osm_mad_pool_init API
Signed-off-by: Hal Rosenstock <hal at xsigo.com>
diff --git a/infiniband-diags/src/saquery.c b/infiniband-diags/src/saquery.c
index 3d4ab24..e678ef8 100644
--- a/infiniband-diags/src/saquery.c
+++ b/infiniband-diags/src/saquery.c
@@ -1290,7 +1290,7 @@ get_bind_handle(void)
vendor = osm_vendor_new(&log_osm, sa_timeout_ms);
osm_mad_pool_construct(&mad_pool);
- if ((status = osm_mad_pool_init(&mad_pool, &log_osm)) != IB_SUCCESS) {
+ if ((status = osm_mad_pool_init(&mad_pool)) != IB_SUCCESS) {
fprintf(stderr, "Failed to init mad pool: %s\n",
ib_get_err_str(status));
exit(-1);
More information about the general
mailing list