summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorToyo Abe <tabe@miraclelinux.com>2007-12-24 21:29:35 -0800
committerDavid S. Miller <davem@davemloft.net>2007-12-26 19:36:34 -0800
commitc6e991de4bd22dcdf9b9d9035e18b63b0bf2d198 (patch)
tree67589b3e54d7f17e2e23062c3369a0f5f1e1483a /drivers/net
parentfae718ddaf2b00e222dddec6717aca023376723c (diff)
downloadlinux-c6e991de4bd22dcdf9b9d9035e18b63b0bf2d198.tar.bz2
[TUNTAP]: Fix wrong debug message.
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>
Diffstat (limited to 'drivers/net')
-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 1f7644695976..f8b8c71187a0 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -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: