diff --git a/src/plugins/task/cgroup/task_cgroup_memory.c b/src/plugins/task/cgroup/task_cgroup_memory.c index a2485d56fb17d3f10add912856d6632a06358b30..e9011f5bac63c79d21967486b3412d9e3910ed6e 100644 --- a/src/plugins/task/cgroup/task_cgroup_memory.c +++ b/src/plugins/task/cgroup/task_cgroup_memory.c @@ -278,7 +278,7 @@ static int memcg_initialize (xcgroup_ns_t *ns, xcgroup_t *cg, return -1; } - xcgroup_set_param (cg, "memory.use_hierarchy","1"); + xcgroup_set_param (cg, "memory.use_hierarchy", "1"); /* when RAM space has not to be constrained and we are here, it * means that only Swap space has to be constrained. Thus set @@ -461,7 +461,7 @@ extern int task_cgroup_memory_attach_task(stepd_step_rec_t *job) * Attach the current task to the step memory cgroup */ pid = getpid(); - if (xcgroup_add_pids(&step_memory_cg,&pid,1) != XCGROUP_SUCCESS) { + if (xcgroup_add_pids(&step_memory_cg, &pid, 1) != XCGROUP_SUCCESS) { error("task/cgroup: unable to add task[pid=%u] to " "memory cg '%s'",pid,step_memory_cg.path); fstatus = SLURM_ERROR;