aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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++;
}