summaryrefslogtreecommitdiff
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
authorRami Rosen <ramirose@gmail.com>2012-11-25 22:07:41 +0000
committerDavid S. Miller <davem@davemloft.net>2012-11-26 17:22:10 -0500
commit3872baf6186388b6ed977fcf9620f2a1c0a33235 (patch)
tree01c975554ac82ffd105016531ead9d9e4caf03e0 /drivers/net/tun.c
parent36fe8c0973b39cc43855dff123d6f05d7e4549fc (diff)
tun: put correct method name in a debug message.
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>
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r--drivers/net/tun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 1dfb135e4e6d..607a3a5981c6 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -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);