diff --git a/lib/libarchive/archive_entry.c b/lib/libarchive/archive_entry.c index c67c64bd85fe..7ec0052159f8 100644 --- a/lib/libarchive/archive_entry.c +++ b/lib/libarchive/archive_entry.c @@ -1431,8 +1431,8 @@ archive_entry_xattr_next(struct archive_entry * entry, const char **name, const void **value, size_t *size) { if (entry->xattr_p) { - *name = entry->xattr_p->name; - *value = entry->xattr_p->value; + *name = entry->xattr_p->name; + *value = entry->xattr_p->value; *size = entry->xattr_p->size; entry->xattr_p = entry->xattr_p->next;