extract: fix uvol parameter order

cute-signatures
Daniel Golle 2021-07-16 19:55:37 +01:00 committed by Timo Teräs
parent 33e85fb1f1
commit 6c41c6f32e
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ static int apk_extract_volume(struct apk_ctx *ac, struct apk_file_info *fi, stru
int r;
snprintf(size, sizeof size, "%ju", fi->size);
r = uvol_run(ac, "create", fi->name, "ro", size);
r = uvol_run(ac, "create", fi->name, size, "ro");
if (r != 0) return r;
return uvol_extract(ac, fi->name, size, fi->size, is, dctx);
}