Fix kthread_create() in kern_sensors.c.
authorSascha Wildner <saw@online.de>
Thu, 22 Apr 2010 10:23:56 +0000 (12:23 +0200)
committerSascha Wildner <saw@online.de>
Thu, 22 Apr 2010 10:23:56 +0000 (12:23 +0200)
sys/kern/kern_sensors.c

index b8794a1..f151370 100644 (file)
@@ -196,7 +196,7 @@ sensor_task_register(void *arg, void (*func)(void *), int period)
        TAILQ_INSERT_HEAD(&tasklist, st, entry);
 
        if (create_thread)
-               if (kthread_create(sensor_task_thread, NULL, NULL, 0, 0,
+               if (kthread_create(sensor_task_thread, NULL, NULL,
                    "sensors") != 0)
                        panic("sensors kthread");