summaryrefslogtreecommitdiff
path: root/archival/libunarchive/unpack_ar_archive.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/libunarchive/unpack_ar_archive.c')
-rw-r--r--archival/libunarchive/unpack_ar_archive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/unpack_ar_archive.c b/archival/libunarchive/unpack_ar_archive.c
index 923b8a0..afa3672 100644
--- a/archival/libunarchive/unpack_ar_archive.c
+++ b/archival/libunarchive/unpack_ar_archive.c
@@ -24,7 +24,7 @@ extern void unpack_ar_archive(archive_handle_t *ar_archive)
{
char magic[7];
- xread_all(ar_archive->src_fd, magic, 7);
+ archive_xread_all(ar_archive, magic, 7);
if (strncmp(magic, "!<arch>", 7) != 0) {
error_msg_and_die("Invalid ar magic");
}