Message ID | 1476483257-16308-6-git-send-email-jgunthorpe@obsidianresearch.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
> The arguments were swapped, and totally crash-when-run wrong. > > Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> > --- Acked-by: Sean Hefty <sean.hefty@intel.com> -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/ibacm/src/acm.c b/ibacm/src/acm.c index e512939dd765..523b78082ff8 100644 --- a/ibacm/src/acm.c +++ b/ibacm/src/acm.c @@ -2483,7 +2483,7 @@ static void acm_open_dev(struct ibv_device *ibdev) ret = ibv_query_device(verbs, &attr); if (ret) { - acm_log(0, "ERROR - ibv_query_device (%s) %d\n", ret, ibdev->name); + acm_log(0, "ERROR - ibv_query_device (%d) %s\n", ret, ibdev->name); goto err1; }
The arguments were swapped, and totally crash-when-run wrong. Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> --- ibacm/src/acm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)