提交 c6e991de 编写于 作者: T Toyo Abe 提交者: David S. Miller

[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: NToyo Abe <tabe@miraclelinux.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 fae718dd
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册