From 724ad359485a844ea406c8c4564d319de9fb55fb Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Tue, 9 Mar 2004 23:15:16 +0000
Subject: [PATCH] Fix incorrect use of errno (as local variable).

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

diff --git a/src/common/slurm_jobcomp.c b/src/common/slurm_jobcomp.c
index 89b90acf979..beec523561d 100644
--- a/src/common/slurm_jobcomp.c
+++ b/src/common/slurm_jobcomp.c
@@ -50,7 +50,7 @@ typedef struct slurm_jobcomp_ops {
 				char *job_state, char *partition, uint32_t time_limit,
 				time_t start_time, time_t end_time, char *node_list);
 	int          (*sa_errno)  ( void );
-	char *       (*job_strerror)  ( int errno );
+	char *       (*job_strerror)  ( int errnum );
 } slurm_jobcomp_ops_t;
 
 
-- 
GitLab