summaryrefslogtreecommitdiff
path: root/src/app_extract.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app_extract.c')
-rw-r--r--src/app_extract.c2
1 files changed, 1 insertions, 1 deletions
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);
}