diff options
author | kientzle <kientzle@FreeBSD.org> | 2005-05-08 06:25:15 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2005-05-08 06:25:15 +0000 |
commit | 5fd4825f3c0631eb60d4b42821d10b9777d7fbed (patch) | |
tree | dd295cc8a145953b2da6a8825022612bc45c76a4 /usr.bin/tar/tree.c | |
parent | 6002c77e8f98c827c409cd1032d63a6896fd469a (diff) | |
download | FreeBSD-src-5fd4825f3c0631eb60d4b42821d10b9777d7fbed.zip FreeBSD-src-5fd4825f3c0631eb60d4b42821d10b9777d7fbed.tar.gz |
Clarify some error messages.
Diffstat (limited to 'usr.bin/tar/tree.c')
-rw-r--r-- | usr.bin/tar/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tar/tree.c b/usr.bin/tar/tree.c index 0fc3584..4528eea 100644 --- a/usr.bin/tar/tree.c +++ b/usr.bin/tar/tree.c @@ -309,13 +309,13 @@ tree_next(struct tree *t) /* chdir() failed; return error */ tree_pop(t); t->tree_errno = errno; - return (t->visit_type = TREE_ERROR); + return (t->visit_type = TREE_ERROR_DIR); } t->d = opendir("."); if (t->d == NULL) { tree_pop(t); t->tree_errno = errno; - return (t->visit_type = TREE_ERROR); + return (t->visit_type = TREE_ERROR_DIR); } t->depth++; t->flags &= ~hasLstat; |