aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-06-27 18:52:25 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-11 01:16:00 -0400
commit38d15b656258b52a659fcf3e181f85b51bd1851f (patch)
tree4fdd8b20afa4532d1a7ac4dc698c0ccc9361f3a2 /drivers/net
parent3557baabf28088f49bdf72a048fd33ab62e205b1 (diff)
[PPPOL2TP]: Use proper printf format specifier for size_t.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/pppol2tp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pppol2tp.c b/drivers/net/pppol2tp.c
index 8a6bff5c3849..5891a0fbdc8b 100644
--- a/drivers/net/pppol2tp.c
+++ b/drivers/net/pppol2tp.c
@@ -890,11 +890,11 @@ static int pppol2tp_sendmsg(struct kiocb *iocb, struct socket *sock, struct msgh
890 /* Debug */ 890 /* Debug */
891 if (session->send_seq) 891 if (session->send_seq)
892 PRINTK(session->debug, PPPOL2TP_MSG_DATA, KERN_DEBUG, 892 PRINTK(session->debug, PPPOL2TP_MSG_DATA, KERN_DEBUG,
893 "%s: send %d bytes, ns=%hu\n", session->name, 893 "%s: send %Zd bytes, ns=%hu\n", session->name,
894 total_len, session->ns - 1); 894 total_len, session->ns - 1);
895 else 895 else
896 PRINTK(session->debug, PPPOL2TP_MSG_DATA, KERN_DEBUG, 896 PRINTK(session->debug, PPPOL2TP_MSG_DATA, KERN_DEBUG,
897 "%s: send %d bytes\n", session->name, total_len); 897 "%s: send %Zd bytes\n", session->name, total_len);
898 898
899 if (session->debug & PPPOL2TP_MSG_DATA) { 899 if (session->debug & PPPOL2TP_MSG_DATA) {
900 int i; 900 int i;