Commit c6e991de authored by Toyo Abe's avatar Toyo Abe Committed by 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: default avatarToyo Abe <tabe@miraclelinux.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fae718dd
...@@ -610,7 +610,7 @@ static int tun_chr_ioctl(struct inode *inode, struct file *file, ...@@ -610,7 +610,7 @@ static int tun_chr_ioctl(struct inode *inode, struct file *file,
tun->flags &= ~TUN_PERSIST; tun->flags &= ~TUN_PERSIST;
DBG(KERN_INFO "%s: persist %s\n", DBG(KERN_INFO "%s: persist %s\n",
tun->dev->name, arg ? "disabled" : "enabled"); tun->dev->name, arg ? "enabled" : "disabled");
break; break;
case TUNSETOWNER: case TUNSETOWNER:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment