aboutsummaryrefslogtreecommitdiff
path: root/scripts/write_config
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/write_config')
-rw-r--r--scripts/write_config/symlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/write_config/symlist.c b/scripts/write_config/symlist.c
index 51904bc..e0e7a1f 100644
--- a/scripts/write_config/symlist.c
+++ b/scripts/write_config/symlist.c
@@ -16,7 +16,7 @@ struct symlist *symlist_read(FILE * f) {
int c;
do {
c = fgetc(f);
- if (c == EOF || c == '\n') {
+ if (c == '\n') {
w[w_pos] = '\0';
if ((size_t) id > ret->size) {
ret->size *= 2;