(start_waiting_job): Use set_command_state.

This commit is contained in:
Roland McGrath 1994-11-29 01:10:47 +00:00
parent d3b9c35c8f
commit b61a13463d

2
job.c
View file

@ -768,7 +768,7 @@ start_waiting_job (c)
{
/* Put this child on the chain of children waiting
for the load average to go down. */
c->file->command_state = cs_running;
set_command_state (c->file, cs_running);
c->next = waiting_jobs;
waiting_jobs = c;
return 0;