extract: fix uvol parameter order
parent
33e85fb1f1
commit
6c41c6f32e
|
@ -146,7 +146,7 @@ static int apk_extract_volume(struct apk_ctx *ac, struct apk_file_info *fi, stru
|
||||||
int r;
|
int r;
|
||||||
|
|
||||||
snprintf(size, sizeof size, "%ju", fi->size);
|
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;
|
if (r != 0) return r;
|
||||||
return uvol_extract(ac, fi->name, size, fi->size, is, dctx);
|
return uvol_extract(ac, fi->name, size, fi->size, is, dctx);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue