diff options
author | Karel Kočí <cynerd@email.cz> | 2015-04-13 11:35:12 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-04-13 11:35:12 +0200 |
commit | e5ede3c94dfca33ec2b1fac5e08562922c5f594d (patch) | |
tree | 8c9982bf1b9e556ee3b7e820544eb6c56e1dee52 /scripts | |
parent | a4c50582e56322c58bf4d9e58ca04193df95ac94 (diff) | |
download | linux-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.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/parse_kconfig/symlist.c | 2 |
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; |