tun: put correct method name in a debug message.
authorRami Rosen <ramirose@gmail.com>
Sun, 25 Nov 2012 22:07:41 +0000 (22:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Nov 2012 22:22:10 +0000 (17:22 -0500)
This patch puts the correct method name, tun_do_read, in a debug message.

Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c

index 1dfb135e4e6ddc311a1ca7993de8563c9bd5beca..607a3a5981c6628a738ca47929a6ad45af51eec2 100644 (file)
@@ -1296,7 +1296,7 @@ static ssize_t tun_do_read(struct tun_struct *tun, struct tun_file *tfile,
        struct sk_buff *skb;
        ssize_t ret = 0;
 
-       tun_debug(KERN_INFO, tun, "tun_chr_read\n");
+       tun_debug(KERN_INFO, tun, "tun_do_read\n");
 
        if (unlikely(!noblock))
                add_wait_queue(&tfile->wq.wait, &wait);