aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-04-13 11:35:12 +0200
committerKarel Kočí <cynerd@email.cz>2015-04-13 11:35:12 +0200
commite5ede3c94dfca33ec2b1fac5e08562922c5f594d (patch)
tree8c9982bf1b9e556ee3b7e820544eb6c56e1dee52
parenta4c50582e56322c58bf4d9e58ca04193df95ac94 (diff)
downloadlinux-conf-perf-e5ede3c94dfca33ec2b1fac5e08562922c5f594d.tar.gz
linux-conf-perf-e5ede3c94dfca33ec2b1fac5e08562922c5f594d.tar.bz2
linux-conf-perf-e5ede3c94dfca33ec2b1fac5e08562922c5f594d.zip
parse_kconfig change default size of array
This is only cosmetic.
-rw-r--r--scripts/parse_kconfig/symlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/parse_kconfig/symlist.c b/scripts/parse_kconfig/symlist.c
index 072ffe0..a184829 100644
--- a/scripts/parse_kconfig/symlist.c
+++ b/scripts/parse_kconfig/symlist.c
@@ -3,7 +3,7 @@
struct symlist *symlist_create() {
struct symlist *ret;
ret = malloc(sizeof(struct symlist));
- ret->size = 2;
+ ret->size = 1;
ret->pos = 0;
ret->array = malloc(ret->size * sizeof(struct symlist_el));
return ret;