summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tar')
-rw-r--r--usr.bin/tar/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tar/write.c b/usr.bin/tar/write.c
index d83dcc1..388a05c 100644
--- a/usr.bin/tar/write.c
+++ b/usr.bin/tar/write.c
@@ -613,7 +613,7 @@ write_hierarchy(struct bsdtar *bsdtar, struct archive *a, const char *path)
lst = tree_current_lstat(tree);
if (lst == NULL) {
/* Couldn't lstat(); must not exist. */
- bsdtar_warnc(bsdtar, errno, "%s: Cannot stat", path);
+ bsdtar_warnc(bsdtar, errno, "%s: Cannot stat", name);
bsdtar->return_value = 1;
continue;
}
OpenPOWER on IntegriCloud