Skip to content

Commit

Permalink
[TUNTAP]: Fix wrong debug message.
Browse files Browse the repository at this point in the history
This is a trivial fix of debug message.
When a persist flag is set, the message should say "enabled".

Signed-off-by: Toyo Abe <tabe@miraclelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Toyo Abe authored and David S. Miller committed Dec 27, 2007
1 parent fae718d commit c6e991d
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 @@ -610,7 +610,7 @@ static int tun_chr_ioctl(struct inode *inode, struct file *file,
tun->flags &= ~TUN_PERSIST;

DBG(KERN_INFO "%s: persist %s\n",
tun->dev->name, arg ? "disabled" : "enabled");
tun->dev->name, arg ? "enabled" : "disabled");
break;

case TUNSETOWNER:
Expand Down

0 comments on commit c6e991d

Please sign in to comment.