private data size is a short, change to ntohs on log message

Signed-off-by: Arlin Davis <[email protected]>
---
 dapl/openib_ucm/cm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dapl/openib_ucm/cm.c b/dapl/openib_ucm/cm.c
index 6efcad2..39ef28d 100644
--- a/dapl/openib_ucm/cm.c
+++ b/dapl/openib_ucm/cm.c
@@ -1003,7 +1003,7 @@ bail:
                 " connect: ERR %s -> cm_lid %x cm_qpn %x r_psp %x p_sz=%d\n",
                 strerror(errno), htons(cm->msg.daddr.ib.lid), 
                 htonl(cm->msg.dqpn), htons(cm->msg.dport), 
-                htonl(cm->msg.p_size));
+                htons(cm->msg.p_size));
 
        dapli_cm_free(cm);
        return DAT_INSUFFICIENT_RESOURCES;
-- 
1.7.3



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

Reply via email to