X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=sched.c;h=aac8efed1bcf8d897e6aef4d07973f2babc8d4f4;hp=4fc65b4b368627c9175f26a193199adcbd787c55;hb=442a3320ff155d09b990c0ee2abace399cbcd6dd;hpb=767a4a54c967bc4b80bd14d02e89fe91acd848dd diff --git a/sched.c b/sched.c index 4fc65b4b..aac8efed 100644 --- a/sched.c +++ b/sched.c @@ -168,7 +168,7 @@ again: * \param tptr Identifies the task to reap. * * This function is similar to wait(2) in that it returns information about a - * terminated task and allows to release the resources associated with the + * terminated task which allows releasing the resources associated with the * task. Until this function is called, the terminated task remains in a zombie * state. * @@ -244,7 +244,7 @@ struct task *task_register(struct task_info *info, struct sched *s) assert(info->post_select); if (!s->task_list.next) - INIT_LIST_HEAD(&s->task_list); + init_list_head(&s->task_list); t->info = *info; t->name = para_strdup(info->name);