Skip to content

Commit

Permalink
orch resmgmt fix error -2 return in recomputetimes with affinity prefere
Browse files Browse the repository at this point in the history
  • Loading branch information
flhofer committed Jun 27, 2024
1 parent b95abc7 commit 6b2de62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/orchestrator/resmgnt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ recomputeTimes(struct resTracer * res) {
*/
static int
recomputeCPUTimes_u(int32_t CPUno, node_t * skip) {
if (-1 == CPUno) // default, not assigned
if (0 > CPUno) // default, not assigned
return 0;

resTracer_t * trc;
Expand Down

0 comments on commit 6b2de62

Please sign in to comment.