1
0
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:
Bruce Evans 1995-07-24 02:50:50 +00:00
parent 65d3266d56
commit 03aec1f65b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9674

View File

@ -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)