mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
x25: use %*ph to print small buffer
Use %*ph format to print small buffer as hex string. Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Antonio Cardace <anto.cardace@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a38bbe7d57
commit
3fef2b6290
@ -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",
|
||||
frame[0], frame[1], frame[2]);
|
||||
pr_debug("invalid PLP frame %3ph\n", frame);
|
||||
|
||||
return X25_ILLEGAL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user