Commit 38c1844b authored by David S. Miller's avatar David S. Miller

[SPARC]: envctrl: ERR_PTR() --> PTR_ERR()

Fix thinko in Christoph's changes.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4875ccdb
......@@ -1117,7 +1117,7 @@ static int __init envctrl_init(void)
kenvctrld_task = kthread_run(kenvctrld, NULL, "kenvctrld");
if (IS_ERR(kenvctrld_task)) {
err = ERR_PTR(kenvctrld_task);
err = PTR_ERR(kenvctrld_task);
goto out_deregister;
}
......
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