[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>
This commit is contained in:
committed by
David S. Miller
parent
fae718ddaf
commit
c6e991de4b
@@ -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:
|
||||||
|
Reference in New Issue
Block a user