aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/jobid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jobid.c b/src/jobid.c
index 6e4efc1..e16cd81 100644
--- a/src/jobid.c
+++ b/src/jobid.c
@@ -33,6 +33,7 @@ static int dag_id_assign(struct job *j, struct jobid *jobid)
return -errno;
}
jobid->jobs = ret;
+ jobid->size = newsize;
j->id = jobid->filled++;
jobid->jobs[j->id] = j;