mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
[PPPOL2TP]: Use proper printf format specifier for size_t.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3557baabf2
commit
38d15b6562
1 changed files with 2 additions and 2 deletions
|
@ -890,11 +890,11 @@ static int pppol2tp_sendmsg(struct kiocb *iocb, struct socket *sock, struct msgh
|
||||||
/* Debug */
|
/* Debug */
|
||||||
if (session->send_seq)
|
if (session->send_seq)
|
||||||
PRINTK(session->debug, PPPOL2TP_MSG_DATA, KERN_DEBUG,
|
PRINTK(session->debug, PPPOL2TP_MSG_DATA, KERN_DEBUG,
|
||||||
"%s: send %d bytes, ns=%hu\n", session->name,
|
"%s: send %Zd bytes, ns=%hu\n", session->name,
|
||||||
total_len, session->ns - 1);
|
total_len, session->ns - 1);
|
||||||
else
|
else
|
||||||
PRINTK(session->debug, PPPOL2TP_MSG_DATA, KERN_DEBUG,
|
PRINTK(session->debug, PPPOL2TP_MSG_DATA, KERN_DEBUG,
|
||||||
"%s: send %d bytes\n", session->name, total_len);
|
"%s: send %Zd bytes\n", session->name, total_len);
|
||||||
|
|
||||||
if (session->debug & PPPOL2TP_MSG_DATA) {
|
if (session->debug & PPPOL2TP_MSG_DATA) {
|
||||||
int i;
|
int i;
|
||||||
|
|
Loading…
Reference in a new issue