From 3dbeb79cf92ad6d208b4a4996fbe67314fc65f72 Mon Sep 17 00:00:00 2001 From: Don Lipari <lipari1@llnl.gov> Date: Fri, 23 Oct 2009 16:27:24 +0000 Subject: [PATCH] Fixed a bug in scontrol show job CPU output --- src/api/job_info.c | 2 ++ src/common/read_config.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/api/job_info.c b/src/api/job_info.c index f785c30f40d..3004b58a41a 100644 --- a/src/api/job_info.c +++ b/src/api/job_info.c @@ -337,6 +337,8 @@ slurm_sprint_job_info ( job_info_t * job_ptr, int one_liner ) bit_fmt(tmp1, sizeof(tmp1), core_bitmap); bit_free(core_bitmap); + if (tmp2[0] == '\0') + strcpy(tmp2, tmp1); host = hostlist_shift(hl); /* * If the allocation values for this host are not the same as the diff --git a/src/common/read_config.c b/src/common/read_config.c index 62756eed4da..85d420102b0 100644 --- a/src/common/read_config.c +++ b/src/common/read_config.c @@ -167,7 +167,7 @@ s_p_options_t slurm_conf_options[] = { {"EnforcePartLimits", S_P_BOOLEAN}, {"Epilog", S_P_STRING}, {"EpilogMsgTime", S_P_UINT32}, - {"EPilogSlurmctld", S_P_STRING}, + {"EpilogSlurmctld", S_P_STRING}, {"FastSchedule", S_P_UINT16}, {"FirstJobId", S_P_UINT32}, {"GetEnvTimeout", S_P_UINT16}, -- GitLab