From e40600c385e771888a19f4521199e2f36221dd1e Mon Sep 17 00:00:00 2001
From: Jon Bringhurst <jon@bringhurst.org>
Date: Tue, 24 May 2011 16:04:30 -0600
Subject: [PATCH] Format string was expecting a short and promoting it to an
 unsigned int, but the input was an unsigned int to begin with.

---
 src/slurmctld/job_mgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/slurmctld/job_mgr.c b/src/slurmctld/job_mgr.c
index d62907445ce..fc0e0a38770 100644
--- a/src/slurmctld/job_mgr.c
+++ b/src/slurmctld/job_mgr.c
@@ -9586,7 +9586,7 @@ extern int job_checkpoint(checkpoint_msg_t *ckpt_ptr, uid_t uid,
 			} else {
 				image_dir = xstrdup(step_ptr->ckpt_dir);
 			}
-			xstrfmtcat(image_dir, "/%u.%hu", job_ptr->job_id,
+			xstrfmtcat(image_dir, "/%u.%u", job_ptr->job_id,
 				   step_ptr->step_id);
 			update_rc = checkpoint_op(ckpt_ptr->job_id,
 						  step_ptr->step_id,
-- 
GitLab