diff options
author | bde <bde@FreeBSD.org> | 1995-07-24 02:50:50 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-07-24 02:50:50 +0000 |
commit | 7eb50587264f13987580e882594c9d0263902702 (patch) | |
tree | 43327fb2f461ce38dd2943c1aec62ae09bc957e4 /usr.sbin/mtree | |
parent | 3fc7894a0e58c12ccf0fc9919357b3e602f91b3b (diff) | |
download | FreeBSD-src-7eb50587264f13987580e882594c9d0263902702.zip FreeBSD-src-7eb50587264f13987580e882594c9d0263902702.tar.gz |
Report `fts_errno' instead of `errno' when the former applies.
Diffstat (limited to 'usr.sbin/mtree')
-rw-r--r-- | usr.sbin/mtree/create.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/mtree/create.c b/usr.sbin/mtree/create.c index 37977b6..694dec7 100644 --- a/usr.sbin/mtree/create.c +++ b/usr.sbin/mtree/create.c @@ -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) |