diff options
author | Toyo Abe <tabe@miraclelinux.com> | 2007-12-24 21:29:35 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-12-26 19:36:34 -0800 |
commit | c6e991de4bd22dcdf9b9d9035e18b63b0bf2d198 (patch) | |
tree | 67589b3e54d7f17e2e23062c3369a0f5f1e1483a /drivers | |
parent | fae718ddaf2b00e222dddec6717aca023376723c (diff) |
[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')
-rw-r--r-- | drivers/net/tun.c | 2 |
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: |