Commit b0e3e46a authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppp warning fix

Fix an accidentally negated comparison.
parent 4fab9d40
......@@ -803,7 +803,7 @@ int __init ppp_init(void)
S_IFCHR|S_IRUSR|S_IWUSR, "ppp");
}
if (!err)
if (err)
printk(KERN_ERR "failed to register PPP device (%d)\n", err);
return err;
}
......
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