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

Remove trailing NULL from job completion record (gnats:489)

parent c52ef9f5
No related branches found
No related tags found
No related merge requests found
......@@ -218,7 +218,7 @@ int slurm_jobcomp_log_record ( struct job_record *job_ptr )
job_state_string(job_state),
job_ptr->partition, lim_str, start_str,
end_str, job_ptr->nodes);
tot_size = (strlen(job_rec) + 1);
tot_size = strlen(job_rec);
while ( offset < tot_size ) {
wrote = write(job_comp_fd, job_rec + offset,
......
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