From c78b65ac5dd13a6c0aaed18a70c5be99600e8363 Mon Sep 17 00:00:00 2001 From: Danny Auble <da@schedmd.com> Date: Wed, 22 Apr 2015 10:53:18 -0700 Subject: [PATCH] Fix bug in LOTS_OF_AGENTS macro --- src/slurmctld/agent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slurmctld/agent.h b/src/slurmctld/agent.h index 73df7476f64..6173d19edd2 100644 --- a/src/slurmctld/agent.h +++ b/src/slurmctld/agent.h @@ -52,7 +52,7 @@ * MAX_AGENT_CNT and * (AGENT_THREAD_COUNT + 2) */ #define LOTS_OF_AGENTS_CNT 50 -#define LOTS_OF_AGENTS (get_agent_count() <= LOTS_OF_AGENTS_CNT) ? 0 : 1 +#define LOTS_OF_AGENTS ((get_agent_count() <= LOTS_OF_AGENTS_CNT) ? 0 : 1) typedef struct agent_arg { uint32_t node_count; /* number of nodes to communicate -- GitLab