summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2009-05-13 00:04:08 +0000
committerkientzle <kientzle@FreeBSD.org>2009-05-13 00:04:08 +0000
commitbf0fcf90723a7ee820acb5f63ffa9bef422d5a4c (patch)
tree806f9d33e78e87009e277b36e3b2badd496d3325 /lib
parent5f1c9ee599c0395cb22c8897256fcf1ac9a89816 (diff)
downloadFreeBSD-src-bf0fcf90723a7ee820acb5f63ffa9bef422d5a4c.zip
FreeBSD-src-bf0fcf90723a7ee820acb5f63ffa9bef422d5a4c.tar.gz
Eliminate duplicate error messages from "tar c".
Reported by: pav@
Diffstat (limited to 'lib')
-rw-r--r--lib/libarchive/archive_read_disk_entry_from_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libarchive/archive_read_disk_entry_from_file.c b/lib/libarchive/archive_read_disk_entry_from_file.c
index 6e12517..8f90191 100644
--- a/lib/libarchive/archive_read_disk_entry_from_file.c
+++ b/lib/libarchive/archive_read_disk_entry_from_file.c
@@ -92,6 +92,7 @@ archive_read_disk_entry_from_file(struct archive *_a,
int initial_fd = fd;
int r, r1;
+ archive_clear_error(_a);
path = archive_entry_sourcepath(entry);
if (path == NULL)
path = archive_entry_pathname(entry);
OpenPOWER on IntegriCloud