From e53954d51dacf4c2e99004f4448dacf51b6e843d Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Mon, 15 Sep 2003 21:37:44 +0000 Subject: [PATCH] Fix mal-formed error messages (bad argument). --- src/slurmctld/controller.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/slurmctld/controller.c b/src/slurmctld/controller.c index d33b563caf1..a15f3b5df48 100644 --- a/src/slurmctld/controller.c +++ b/src/slurmctld/controller.c @@ -122,15 +122,15 @@ int main(int argc, char *argv[]) /* Get SlurmctldPidFile for _kill_old_slurmctld */ if ((error_code = read_slurm_conf_ctl (&slurmctld_conf))) { - error("read_slurm_conf_ctl error %d reading %s", - error_code, SLURM_CONFIG_FILE); + error("read_slurm_conf_ctl reading %s: %m", + SLURM_CONFIG_FILE); exit(1); } _kill_old_slurmctld(); /* Now recover the remaining state information */ if ((error_code = read_slurm_conf(recover))) { error("read_slurm_conf reading %s: %m", - error_code, SLURM_CONFIG_FILE); + SLURM_CONFIG_FILE); exit(1); } /* -- GitLab