From 8442aa8dcf18978ffc75a57aca80250466a94eac Mon Sep 17 00:00:00 2001 From: Amir Vadai Date: Sun, 17 Oct 2010 19:45:43 +0200 Subject: [PATCH] sdp: Improve the look of packet dump Signed-off-by: Amir Vadai --- drivers/infiniband/ulp/sdp/sdp_bcopy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/ulp/sdp/sdp_bcopy.c b/drivers/infiniband/ulp/sdp/sdp_bcopy.c index c8b966dbda58..4de8c1acdbbe 100644 --- a/drivers/infiniband/ulp/sdp/sdp_bcopy.c +++ b/drivers/infiniband/ulp/sdp/sdp_bcopy.c @@ -44,9 +44,9 @@ void _dump_packet(const char *func, int line, struct sock *sk, char *str, struct sdp_srcah *srcah; int len = 0; char buf[256]; - len += snprintf(buf, 255-len, "%s skb: %p mid: %2x:%-20s flags: 0x%x " + len += snprintf(buf, 255-len, "mid: %-20s flags: 0x%x " "bufs: 0x%x len: 0x%x mseq: 0x%x mseq_ack: 0x%x | ", - str, skb, h->mid, mid2str(h->mid), h->flags, + mid2str(h->mid), h->flags, ntohs(h->bufs), ntohl(h->len), ntohl(h->mseq), ntohl(h->mseq_ack)); -- 2.50.1