Commit 7bbf8ef6 authored by Linus Torvalds's avatar Linus Torvalds
parents 1ed23743 1efd374d
...@@ -227,7 +227,7 @@ static int __init fitpc2_wdt_init(void) ...@@ -227,7 +227,7 @@ static int __init fitpc2_wdt_init(void)
} }
err = misc_register(&fitpc2_wdt_miscdev); err = misc_register(&fitpc2_wdt_miscdev);
if (!err) { if (err) {
pr_err("cannot register miscdev on minor=%d (err=%d)\n", pr_err("cannot register miscdev on minor=%d (err=%d)\n",
WATCHDOG_MINOR, err); WATCHDOG_MINOR, err);
goto err_margin; goto err_margin;
......
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