Skip to content
Snippets Groups Projects
Commit e60b231f authored by Moe Jette's avatar Moe Jette
Browse files

Set log prefix for jobid.stepid to use %u format instead of %d.

parent f8481775
No related branches found
No related tags found
No related merge requests found
......@@ -270,9 +270,9 @@ _set_job_log_prefix(slurmd_job_t *job)
char buf[256];
if (job->stepid == NO_VAL)
snprintf(buf, sizeof(buf), "[%d]", job->jobid);
snprintf(buf, sizeof(buf), "[%u]", job->jobid);
else
snprintf(buf, sizeof(buf), "[%d.%d]",
snprintf(buf, sizeof(buf), "[%u.%u]",
job->jobid, job->stepid);
log_set_fpfx(buf);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment