Commit 3fef2b62 authored by Antonio Cardace's avatar Antonio Cardace Committed by David S. Miller

x25: use %*ph to print small buffer

Use %*ph format to print small buffer as hex string.
Suggested-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarAntonio Cardace <anto.cardace@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a38bbe7d
...@@ -335,8 +335,7 @@ int x25_decode(struct sock *sk, struct sk_buff *skb, int *ns, int *nr, int *q, ...@@ -335,8 +335,7 @@ int x25_decode(struct sock *sk, struct sk_buff *skb, int *ns, int *nr, int *q,
} }
} }
pr_debug("invalid PLP frame %02X %02X %02X\n", pr_debug("invalid PLP frame %3ph\n", frame);
frame[0], frame[1], frame[2]);
return X25_ILLEGAL; return X25_ILLEGAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment