mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Report fts_errno' instead of errno' when the former applies.
This commit is contained in:
parent
65d3266d56
commit
03aec1f65b
1 changed files with 2 additions and 2 deletions
|
|
@ -109,8 +109,8 @@ cwalk()
|
|||
case FTS_DNR:
|
||||
case FTS_ERR:
|
||||
case FTS_NS:
|
||||
(void)fprintf(stderr,
|
||||
"mtree: %s: %s\n", p->fts_path, strerror(errno));
|
||||
(void)fprintf(stderr, "mtree: %s: %s\n",
|
||||
p->fts_path, strerror(p->fts_errno));
|
||||
break;
|
||||
default:
|
||||
if (!dflag)
|
||||
|
|
|
|||
Loading…
Reference in a new issue