X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=sched.c;h=aac8efed1bcf8d897e6aef4d07973f2babc8d4f4;hb=2bad70d84e763b4d866d7b97dbc1cdc8e030bd45;hp=4fc65b4b368627c9175f26a193199adcbd787c55;hpb=767a4a54c967bc4b80bd14d02e89fe91acd848dd;p=paraslash.git 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);