aboutsummaryrefslogtreecommitdiff
path: root/scripts/parse_kconfig/symlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/parse_kconfig/symlist.c')
-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 62cdd6c..d38dde1 100644
--- a/scripts/parse_kconfig/symlist.c
+++ b/scripts/parse_kconfig/symlist.c
@@ -26,7 +26,7 @@ void symlist_add(struct symlist *sl, char *name) {
}
void symlist_closesym(struct symlist *sl) {
- sl->lastsym = (unsigned) sl->pos;
+ sl->lastsym = (unsigned) sl->pos + 1;
}
unsigned symlist_adddummy(struct symlist *sl) {