mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-02-08 07:01:06 +00:00
(start_waiting_job): Use set_command_state.
This commit is contained in:
parent
d3b9c35c8f
commit
b61a13463d
1 changed files with 1 additions and 1 deletions
2
job.c
2
job.c
|
@ -768,7 +768,7 @@ start_waiting_job (c)
|
||||||
{
|
{
|
||||||
/* Put this child on the chain of children waiting
|
/* Put this child on the chain of children waiting
|
||||||
for the load average to go down. */
|
for the load average to go down. */
|
||||||
c->file->command_state = cs_running;
|
set_command_state (c->file, cs_running);
|
||||||
c->next = waiting_jobs;
|
c->next = waiting_jobs;
|
||||||
waiting_jobs = c;
|
waiting_jobs = c;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue