diff options
author | Thomas White <taw@physics.org> | 2021-07-23 12:53:43 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-07-23 12:53:43 +0200 |
commit | b81543930657e7599b2d66709d5c85c3d929b79e (patch) | |
tree | 53c0b26c1df366f8a29ede6d43c1d3626281d389 | |
parent | 1e082213588a414e887df7ed1a5dc5efaae23c11 (diff) |
SLURM: Fix printf type
-rw-r--r-- | src/gui_backend_slurm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_backend_slurm.c b/src/gui_backend_slurm.c index aeabad3d..8007b398 100644 --- a/src/gui_backend_slurm.c +++ b/src/gui_backend_slurm.c @@ -235,7 +235,7 @@ static void cancel_task(void *job_priv) GSubprocess *sp; struct slurm_job *job = job_priv; - snprintf(jobid, 127, "%i", job->job_id); + snprintf(jobid, 127, "%u", job->job_id); args[0] = "scancel"; args[1] = jobid; args[2] = NULL; |