summaryrefslogtreecommitdiff
path: root/futility/updater.c
diff options
context:
space:
mode:
Diffstat (limited to 'futility/updater.c')
-rw-r--r--futility/updater.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/futility/updater.c b/futility/updater.c
index b8bb48b0..dcbc4450 100644
--- a/futility/updater.c
+++ b/futility/updater.c
@@ -1290,7 +1290,7 @@ static int updater_load_images(struct updater_config *cfg,
const char *pd_image)
{
int errorcnt = 0;
- struct archive *ar = cfg->archive;
+ struct u_archive *ar = cfg->archive;
if (!cfg->image.data && image) {
if (image && strcmp(image, "-") == 0) {
@@ -1379,7 +1379,7 @@ static int updater_setup_archive(
int is_factory)
{
int errorcnt = 0;
- struct archive *ar = cfg->archive;
+ struct u_archive *ar = cfg->archive;
const struct model_config *model;
if (arg->do_manifest) {
@@ -1540,7 +1540,7 @@ int updater_setup_config(struct updater_config *cfg,
/* Process archives which may not have valid contents. */
if (arg->repack || arg->unpack) {
const char *work_name = arg->repack ? arg->repack : arg->unpack;
- struct archive *from, *to, *work;
+ struct u_archive *from, *to, *work;
work = archive_open(work_name);
if (arg->repack) {