Skip to content

Commit

Permalink
tun: put correct method name in a debug message.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rami Rosen authored and David S. Miller committed Nov 26, 2012
1 parent 36fe8c0 commit 3872baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/tun.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3872baf

Please sign in to comment.