diff options
Diffstat (limited to 'src/rtos/linux.c')
-rw-r--r-- | src/rtos/linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtos/linux.c b/src/rtos/linux.c index b9749b5..11a55c4 100644 --- a/src/rtos/linux.c +++ b/src/rtos/linux.c @@ -639,7 +639,7 @@ static struct threads *liste_add_task(struct threads *task_list, struct threads { t->next = NULL; - if (*last == NULL) + if (!*last) if (!task_list) { task_list = t; return task_list; |