diff --git a/src/sacct/print.c b/src/sacct/print.c index 13d45ac7429004e2d2f13fdcc3accd77d6c48686..09ec1a8889c4f033c34243cbb3db00ec0e01c921 100644 --- a/src/sacct/print.c +++ b/src/sacct/print.c @@ -1107,7 +1107,7 @@ void print_fields(type_t type, void *object) } if (((tmp_int & JOB_STATE_BASE) == JOB_CANCELLED) && - (tmp_int2 != NO_VAL)) + (tmp_int2 != -1)) snprintf(outbuf, FORMAT_STRING_SIZE, "%s by %d", job_state_string(tmp_int),