Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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



Fix thinko in Christoph's changes.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4875ccdb
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1117,7 +1117,7 @@ static int __init envctrl_init(void)


	kenvctrld_task = kthread_run(kenvctrld, NULL, "kenvctrld");
	kenvctrld_task = kthread_run(kenvctrld, NULL, "kenvctrld");
	if (IS_ERR(kenvctrld_task)) {
	if (IS_ERR(kenvctrld_task)) {
		err = ERR_PTR(kenvctrld_task);
		err = PTR_ERR(kenvctrld_task);
		goto out_deregister;
		goto out_deregister;
	}
	}