diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ctrl/control_if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c index 6ab34c7b..c4b6f910 100644 --- a/src/ctrl/control_if.c +++ b/src/ctrl/control_if.c @@ -706,7 +706,7 @@ static int ctrl_init(void) if (ctrl_initialized) return 0; - ctrl_node_vec = vector_init(5); + ctrl_node_vec = vector_init(_LAST_CTRL_NODE); if (!ctrl_node_vec) goto err; |