Skip to content

Commit

Permalink
Merge pull request #3233 from BOINC/Rytiss-planclassspec-debug
Browse files Browse the repository at this point in the history
Fix incorrect variable printed to sched debug
  • Loading branch information
tristanolive authored Jul 26, 2019
2 parents c3666bc + 704d877 commit 4e1072d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sched/plan_class_spec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static bool wu_is_infeasible_for_plan_class(const PLAN_CLASS_SPEC* pc, const WOR
if (config.debug_version_select) {
log_messages.printf(MSG_NORMAL,
"[version] batch#%ld too old for plan class '%s' (%ld)\n",
wu->id, pc->name, pc->min_batch
wu->batch, pc->name, pc->min_batch
);
}
return true;
Expand All @@ -114,7 +114,7 @@ static bool wu_is_infeasible_for_plan_class(const PLAN_CLASS_SPEC* pc, const WOR
if (config.debug_version_select) {
log_messages.printf(MSG_NORMAL,
"[version] batch#%ld too new for plan class '%s' (%ld)\n",
wu->id, pc->name, pc->max_batch
wu->batch, pc->name, pc->max_batch
);
}
return true;
Expand Down

0 comments on commit 4e1072d

Please sign in to comment.