mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Report fts_errno' instead of
errno' when the former applies.
This commit is contained in:
parent
65d3266d56
commit
03aec1f65b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9674
@ -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