Skip to content
Snippets Groups Projects
Commit e53954d5 authored by Moe Jette's avatar Moe Jette
Browse files

Fix mal-formed error messages (bad argument).

parent 699d0bda
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment