diff --git a/src/common/slurm_resource_info.c b/src/common/slurm_resource_info.c index 80dd2caec6782ae510358e382f2b2c0939d4c313..6029c2b8b061c630f42681a624fe77373e740672 100644 --- a/src/common/slurm_resource_info.c +++ b/src/common/slurm_resource_info.c @@ -389,7 +389,7 @@ void slurm_sprint_mem_bind_type(char *str, mem_bind_type_t mem_bind_type) void slurm_print_cpu_bind_help(void) { - if (_have_task_affinity()) { + if (!_have_task_affinity()) { printf("CPU bind options not supported with current " "configuration\n"); } else {