Commit:     c6e991de4bd22dcdf9b9d9035e18b63b0bf2d198
Parent:     fae718ddaf2b00e222dddec6717aca023376723c
Author:     Toyo Abe <[EMAIL PROTECTED]>
AuthorDate: Mon Dec 24 21:29:35 2007 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Dec 26 19:36:34 2007 -0800

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 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 
                        tun->flags &= ~TUN_PERSIST;
                DBG(KERN_INFO "%s: persist %s\n",
-                   tun->dev->name, arg ? "disabled" : "enabled");
+                   tun->dev->name, arg ? "enabled" : "disabled");
        case TUNSETOWNER:
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to