projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fae718d
)
[TUNTAP]: Fix wrong debug message.
author
Toyo Abe
<tabe@miraclelinux.com>
Tue, 25 Dec 2007 05:29:35 +0000
(21:29 -0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 27 Dec 2007 03:36:34 +0000
(19:36 -0800)
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>
drivers/net/tun.c
patch
|
blob
|
history
diff --git
a/drivers/net/tun.c
b/drivers/net/tun.c
index 1f76446959765ef577382517e7039c0ab044d5c3..f8b8c71187a076f426b40833f5631d9445c9fdf0 100644
(file)
--- 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" : "en
abled");
+ tun->dev->name, arg ? "
enabled" : "dis
abled");
break;
case TUNSETOWNER: