Skip to content
Snippets Groups Projects
Commit 38d15b65 authored by David S. Miller's avatar David S. Miller
Browse files

[PPPOL2TP]: Use proper printf format specifier for size_t.

parent 3557baab
No related branches found
No related tags found
No related merge requests found
......@@ -890,11 +890,11 @@ static int pppol2tp_sendmsg(struct kiocb *iocb, struct socket *sock, struct msgh
/* Debug */
if (session->send_seq)
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);
else
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) {
int i;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment