[PPPOL2TP]: Use proper printf format specifier for size_t.
authorDavid S. Miller <davem@sunset.davemloft.net>
Wed, 27 Jun 2007 22:52:25 +0000 (15:52 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Jul 2007 05:16:00 +0000 (22:16 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pppol2tp.c

index 8a6bff5c3849f6327519cb292da392304a2ca5af..5891a0fbdc8b77645711e040c07070c4c6bddfb5 100644 (file)
@@ -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;