diff options
author | Maxim Konovalov <maxim@FreeBSD.org> | 2006-04-14 07:20:42 +0000 |
---|---|---|
committer | Maxim Konovalov <maxim@FreeBSD.org> | 2006-04-14 07:20:42 +0000 |
commit | 4a3050fc468b5a36c506f74a99823e3b63e79faf (patch) | |
tree | 4bbbb9de4eec74b92e3582b6a582aa628bbb77dd /sbin | |
parent | cfd6f8cd6c62e08f42ecb4c26d6a2dde3642c1f0 (diff) | |
download | src-test2-4a3050fc468b5a36c506f74a99823e3b63e79faf.tar.gz src-test2-4a3050fc468b5a36c506f74a99823e3b63e79faf.zip |
Notes
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/devd/devd.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/devd/devd.cc b/sbin/devd/devd.cc index 3dadde4f31e2..5856874cc45f 100644 --- a/sbin/devd/devd.cc +++ b/sbin/devd/devd.cc @@ -311,6 +311,7 @@ config::parse_one_file(const char *fn) yyin = fopen(fn, "r"); if (yyin == NULL) err(1, "Cannot open config file %s", fn); + lineno = 1; if (yyparse() != 0) errx(1, "Cannot parse %s at line %d", fn, lineno); fclose(yyin); |