aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/archive_read_disk_posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/archive_read_disk_posix.c')
-rw-r--r--libarchive/archive_read_disk_posix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libarchive/archive_read_disk_posix.c b/libarchive/archive_read_disk_posix.c
index 09c366f5febe..31d2429c41a5 100644
--- a/libarchive/archive_read_disk_posix.c
+++ b/libarchive/archive_read_disk_posix.c
@@ -860,6 +860,7 @@ next_entry(struct archive_read_disk *a, struct tree *t,
struct archive_string delayed_str;
delayed = ARCHIVE_OK;
+ delayed_errno = 0;
archive_string_init(&delayed_str);
st = NULL;