(start_waiting_job): Use set_command_state.
authorRoland McGrath <roland@redhat.com>
Tue, 29 Nov 1994 01:10:47 +0000 (01:10 +0000)
committerRoland McGrath <roland@redhat.com>
Tue, 29 Nov 1994 01:10:47 +0000 (01:10 +0000)
job.c

diff --git a/job.c b/job.c
index 337703f..48184f9 100644 (file)
--- 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;