mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-05 16:10:55 +00:00
Fix logic error which causes <null> to be printed instead of the
actual file name in error message. MFC After: 2 weeks
This commit is contained in:
parent
964e14b04a
commit
4fd87db95a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152980
|
@ -880,7 +880,7 @@ get_worklist(char **files)
|
|||
fname = "<stdin>";
|
||||
}
|
||||
if (!f)
|
||||
err(1, "%s", conf);
|
||||
err(1, "%s", fname);
|
||||
|
||||
parse_file(f, fname, &worklist, &globlist, &defconf);
|
||||
(void) fclose(f);
|
||||
|
|
Loading…
Reference in a new issue