summaryrefslogtreecommitdiff
path: root/src/io_archive.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/io_archive.c')
-rw-r--r--src/io_archive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io_archive.c b/src/io_archive.c
index 303fb93..ad4f621 100644
--- a/src/io_archive.c
+++ b/src/io_archive.c
@@ -150,8 +150,8 @@ int apk_tar_parse(struct apk_istream *is, apk_archive_entry_parser parser,
entry = (struct apk_file_info){
.size = GET_OCTAL(buf.size),
- .uid = apk_resolve_uid(idc, TAR_BLOB(buf.uname), GET_OCTAL(buf.uid)),
- .gid = apk_resolve_gid(idc, TAR_BLOB(buf.gname), GET_OCTAL(buf.gid)),
+ .uid = apk_id_cache_resolve_uid(idc, TAR_BLOB(buf.uname), GET_OCTAL(buf.uid)),
+ .gid = apk_id_cache_resolve_gid(idc, TAR_BLOB(buf.gname), GET_OCTAL(buf.gid)),
.mode = GET_OCTAL(buf.mode) & 07777,
.mtime = GET_OCTAL(buf.mtime),
.name = entry.name,