From 6c41c6f32eda9a58de6ba36b9cc715aaf090181c Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 16 Jul 2021 19:55:37 +0100 Subject: [PATCH] extract: fix uvol parameter order --- src/app_extract.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app_extract.c b/src/app_extract.c index f292b61..89af6db 100644 --- a/src/app_extract.c +++ b/src/app_extract.c @@ -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); }