Commit 7fe2a4c3 authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller

[NET]: Fix printk warnings in strip driver.

parent 498c1003
......@@ -2330,7 +2330,7 @@ static void strip_receive_buf(struct tty_struct *tty, const unsigned char *cp,
if (*cp == 0x0D) { /* If end of packet, decide what to do with it */
if (strip_info->sx_count > 3000)
printk(KERN_INFO
"%s: Cut a %d byte packet (%d bytes remaining)%s\n",
"%s: Cut a %d byte packet (%zd bytes remaining)%s\n",
strip_info->dev->name,
strip_info->sx_count,
end - cp - 1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment