diff options
Diffstat (limited to 'xlators/cluster')
-rw-r--r-- | xlators/cluster/ec/src/ec-code.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/ec/src/ec-code.c b/xlators/cluster/ec/src/ec-code.c index 70878d794ca..b3338248569 100644 --- a/xlators/cluster/ec/src/ec-code.c +++ b/xlators/cluster/ec/src/ec-code.c @@ -944,7 +944,7 @@ ec_code_cpu_check(uint32_t idx, char *list, uint32_t count) { ec_code_gen_t *gen; char **ptr; - char *table[count]; + char *table[count + 1]; uint32_t i; for (i = 0; i < count; i++) { |