From 447bb06cf32b8a93c744e525cee1c7bbe80951f3 Mon Sep 17 00:00:00 2001
From: Mark Grondona <mgrondona@llnl.gov>
Date: Wed, 22 Oct 2003 19:20:26 +0000
Subject: [PATCH]  o call fatal() instead of job_fatal() on failure to allocate
 job step

---
 src/srun/allocate.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/srun/allocate.c b/src/srun/allocate.c
index 2cbb78979c2..3eeb0115d6f 100644
--- a/src/srun/allocate.c
+++ b/src/srun/allocate.c
@@ -302,10 +302,10 @@ create_job_step(job_t *job)
 	job_step_create_response_msg_t *resp = NULL;
 
 	if (!(req = _step_req_create(job))) 
-		job_fatal (job, "Unable to allocate step request message");
+		fatal ("Unable to allocate step request message");
 
 	if ((slurm_job_step_create(req, &resp) < 0) || (resp == NULL)) 
-		job_fatal (job, "Unable to create job step: %m");
+		fatal ("Unable to create job step: %m");
 
 	job->stepid  = resp->job_step_id;
 	job->cred    = resp->cred;
-- 
GitLab