aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2005-08-09 17:43:14 -0400
committerDavid S. Miller <davem@davemloft.net>2005-08-09 17:43:14 -0400
commit38c1844b3120e04b7f5bb9c18ebbc19883d1e1d6 (patch)
tree62b5387a79777395af440f0fcb601eb692feb2aa /drivers
parent4875ccdb304775e9fd830f644643a1513357e043 (diff)
[SPARC]: envctrl: ERR_PTR() --> PTR_ERR()
Fix thinko in Christoph's changes. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/sbus/char/envctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c
index 1247f81a3278..d765cc1bf060 100644
--- a/drivers/sbus/char/envctrl.c
+++ b/drivers/sbus/char/envctrl.c
@@ -1117,7 +1117,7 @@ done:
1117 1117
1118 kenvctrld_task = kthread_run(kenvctrld, NULL, "kenvctrld"); 1118 kenvctrld_task = kthread_run(kenvctrld, NULL, "kenvctrld");
1119 if (IS_ERR(kenvctrld_task)) { 1119 if (IS_ERR(kenvctrld_task)) {
1120 err = ERR_PTR(kenvctrld_task); 1120 err = PTR_ERR(kenvctrld_task);
1121 goto out_deregister; 1121 goto out_deregister;
1122 } 1122 }
1123 1123