aboutsummaryrefslogtreecommitdiff
path: root/ntpd/ntp_scanner.c
diff options
context:
space:
mode:
Diffstat (limited to 'ntpd/ntp_scanner.c')
-rw-r--r--ntpd/ntp_scanner.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ntpd/ntp_scanner.c b/ntpd/ntp_scanner.c
index 6cfbeef40651..42b83c84eec6 100644
--- a/ntpd/ntp_scanner.c
+++ b/ntpd/ntp_scanner.c
@@ -167,6 +167,7 @@ lex_getch(
stream->backch = EOF;
if (stream->fpi)
conf_file_sum += ch;
+ stream->curpos.ncol++;
} else if (stream->fpi) {
/* fetch next 7-bit ASCII char (or EOF) from file */
while ((ch = fgetc(stream->fpi)) != EOF && ch > SCHAR_MAX)