summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-11-29 01:10:47 +0000
committerRoland McGrath <roland@redhat.com>1994-11-29 01:10:47 +0000
commitb61a13463dd7bd3027cad643c7219114e677e836 (patch)
tree02e3f7befb042e45e735231055b2376bcb46b5af /job.c
parentd3b9c35c8fcb93f92fc79e9690cf24f3b97c42d9 (diff)
downloadgunmake-b61a13463dd7bd3027cad643c7219114e677e836.tar.gz
(start_waiting_job): Use set_command_state.
Diffstat (limited to 'job.c')
-rw-r--r--job.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/job.c b/job.c
index 337703f..48184f9 100644
--- a/job.c
+++ b/job.c
@@ -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;