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 New Issue
Block a user