Commit cf8c738d authored by Eric Brower's avatar Eric Brower Committed by David S. Miller

[SPARC64]: Fix kernel_thread() return value check in envctrl.c

parent 2ef21770
...@@ -1140,7 +1140,7 @@ static int __init envctrl_init(void) ...@@ -1140,7 +1140,7 @@ static int __init envctrl_init(void)
} }
err = kernel_thread(kenvctrld, NULL, CLONE_FS | CLONE_FILES); err = kernel_thread(kenvctrld, NULL, CLONE_FS | CLONE_FILES);
if (err) if (err < 0)
goto out_deregister; goto out_deregister;
return 0; return 0;
......
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