Report fts_errno' instead of
errno' when the former applies.
This commit is contained in:
parent
c20c5aa1a5
commit
cf2df4eb6c
@ -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 New Issue
Block a user