aboutsummaryrefslogtreecommitdiff
path: root/src/gui_backend_slurm.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-07-23 12:53:43 +0200
committerThomas White <taw@physics.org>2021-07-23 12:53:43 +0200
commitb81543930657e7599b2d66709d5c85c3d929b79e (patch)
tree53c0b26c1df366f8a29ede6d43c1d3626281d389 /src/gui_backend_slurm.c
parent1e082213588a414e887df7ed1a5dc5efaae23c11 (diff)
SLURM: Fix printf type
Diffstat (limited to 'src/gui_backend_slurm.c')
-rw-r--r--src/gui_backend_slurm.c2
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;