]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/infiniband/hw/ehca/ehca_hca.c
IB/ehca: Print return codes as signed decimal integers
[linux-2.6-omap-h63xx.git] / drivers / infiniband / hw / ehca / ehca_hca.c
index cf22472d9414b66e2d681e44d604e6e65a5f841d..3436c49eee06ef22653b86034415de4cb8397129 100644 (file)
@@ -352,7 +352,7 @@ int ehca_modify_port(struct ib_device *ibdev,
        hret = hipz_h_modify_port(shca->ipz_hca_handle, port,
                                  cap, props->init_type, port_modify_mask);
        if (hret != H_SUCCESS) {
-               ehca_err(&shca->ib_device, "Modify port failed  hret=%lx",
+               ehca_err(&shca->ib_device, "Modify port failed  h_ret=%li",
                         hret);
                ret = -EINVAL;
        }