diff options
author | trasz <trasz@FreeBSD.org> | 2014-03-25 11:45:03 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2014-03-25 11:45:03 +0000 |
commit | 68324fc037c605b09145d34d4da2240f3ebe1025 (patch) | |
tree | bacfe7fd47fd64301be332f8a0012153b6abd86a /usr.sbin/ctld/parse.y | |
parent | e5c161c379feca32c8fc6d20c9ee6c972bb990ef (diff) | |
download | FreeBSD-src-68324fc037c605b09145d34d4da2240f3ebe1025.zip FreeBSD-src-68324fc037c605b09145d34d4da2240f3ebe1025.tar.gz |
MFC r261767:
Show proper configuration file line numbers in error messages.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.sbin/ctld/parse.y')
-rw-r--r-- | usr.sbin/ctld/parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ctld/parse.y b/usr.sbin/ctld/parse.y index 07b4d67..a7e01f6 100644 --- a/usr.sbin/ctld/parse.y +++ b/usr.sbin/ctld/parse.y @@ -598,7 +598,7 @@ conf_new_from_file(const char *path) return (NULL); } check_perms(path); - lineno = 0; + lineno = 1; yyrestart(yyin); error = yyparse(); auth_group = NULL; |