mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-05 12:56:08 +00:00
err() is documented as allowing NULL for the format string but GCC isn't
happy about it any more so change the useage so buildworld works again.
This commit is contained in:
parent
50b6a55512
commit
3951e2ab28
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99743
@ -171,7 +171,7 @@ done: argv += optind;
|
||||
}
|
||||
|
||||
if ((ftsp = fts_open(++argv, fts_options, 0)) == NULL)
|
||||
err(1, NULL);
|
||||
err(1, "fts_open");
|
||||
for (rval = 0; (p = fts_read(ftsp)) != NULL;) {
|
||||
switch (p->fts_info) {
|
||||
case FTS_D: /* Change it at FTS_DP. */
|
||||
|
Loading…
Reference in New Issue
Block a user