diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-08-07 02:24:20 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-08-07 02:24:20 +0000 |
commit | 2f7b443faf678c628b87e6722a418f2016de4f19 (patch) | |
tree | 9c0130923564bd2894bc0fb86ab1b1f67dd8e4f7 /lib/libarchive/archive_write_set_format_pax.c | |
parent | c95736ca877336fbea29f1923918b940a8b691e6 (diff) | |
download | FreeBSD-src-2f7b443faf678c628b87e6722a418f2016de4f19.zip FreeBSD-src-2f7b443faf678c628b87e6722a418f2016de4f19.tar.gz |
Beef up the "cannot archive this" error message with the
actual mode that failed, to help track down a bug.
Diffstat (limited to 'lib/libarchive/archive_write_set_format_pax.c')
-rw-r--r-- | lib/libarchive/archive_write_set_format_pax.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libarchive/archive_write_set_format_pax.c b/lib/libarchive/archive_write_set_format_pax.c index a8e5be8..70d32ba 100644 --- a/lib/libarchive/archive_write_set_format_pax.c +++ b/lib/libarchive/archive_write_set_format_pax.c @@ -351,7 +351,8 @@ archive_write_pax_header(struct archive *a, return (ARCHIVE_WARN); default: archive_set_error(a, ARCHIVE_ERRNO_FILE_FORMAT, - "tar format cannot archive this"); + "tar format cannot archive this (mode=0%lo)", + (unsigned long)st_original->st_mode); return (ARCHIVE_WARN); } } |