Skip to content

Commit

Permalink
[SPARC]: envctrl: ERR_PTR() --> PTR_ERR()
Browse files Browse the repository at this point in the history
Fix thinko in Christoph's changes.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Aug 9, 2005
1 parent 4875ccd commit 38c1844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sbus/char/envctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 38c1844

Please sign in to comment.