summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/powerpc/powermac/powermac_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/powermac/powermac_thermal.c b/sys/powerpc/powermac/powermac_thermal.c
index 2d29d42..1b03072 100644
--- a/sys/powerpc/powermac/powermac_thermal.c
+++ b/sys/powerpc/powermac/powermac_thermal.c
@@ -79,7 +79,7 @@ fan_management_proc(void)
{
/* Nothing to manage? */
if (SLIST_EMPTY(&fans))
- return;
+ kproc_exit(0);
while (1) {
pmac_therm_manage_fans();
OpenPOWER on IntegriCloud