diff options
author | Toyo Abe <tabe@miraclelinux.com> | 2007-12-25 05:29:35 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-12-27 03:36:34 (GMT) |
commit | c6e991de4bd22dcdf9b9d9035e18b63b0bf2d198 (patch) | |
tree | 67589b3e54d7f17e2e23062c3369a0f5f1e1483a | |
parent | fae718ddaf2b00e222dddec6717aca023376723c (diff) | |
download | linux-c6e991de4bd22dcdf9b9d9035e18b63b0bf2d198.tar.xz |
[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>
-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 1f76446..f8b8c71 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: |