MFC r261767:

Show proper configuration file line numbers in error messages.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
trasz 2014-03-25 11:45:03 +00:00
parent e5c161c379
commit 68324fc037

View File

@ -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;