aboutsummaryrefslogtreecommitdiff
path: root/scripts/parse_kconfig
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-05-01 21:14:06 +0200
committerKarel Kočí <cynerd@email.cz>2015-05-01 21:14:06 +0200
commit6c3b630ccb456757b2a014b664e1581ecfed590f (patch)
tree1f96d1aa5fb3de2fc35c1a56655def91232e6c9a /scripts/parse_kconfig
parentdffb32d33c06f8fae030c95daaca8aeffc5186fe (diff)
downloadlinux-conf-perf-6c3b630ccb456757b2a014b664e1581ecfed590f.tar.gz
linux-conf-perf-6c3b630ccb456757b2a014b664e1581ecfed590f.tar.bz2
linux-conf-perf-6c3b630ccb456757b2a014b664e1581ecfed590f.zip
Fix parse_kconfig symbol_map ids
Diffstat (limited to 'scripts/parse_kconfig')
-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 042a950..99532fb 100644
--- a/scripts/parse_kconfig/symlist.c
+++ b/scripts/parse_kconfig/symlist.c
@@ -22,7 +22,7 @@ void symlist_add(struct symlist *sl, char *name) {
sl->array[sl->pos].def_size = 0;
sl->array[sl->pos].dep = NULL;
sl->array[sl->pos].rev_dep = NULL;
- output_push_symbol((unsigned) sl->pos, name);
+ output_push_symbol((unsigned) sl->pos + 1, name);
sl->pos++;
}