summaryrefslogtreecommitdiff
path: root/futility/updater.c
diff options
context:
space:
mode:
Diffstat (limited to 'futility/updater.c')
-rw-r--r--futility/updater.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/futility/updater.c b/futility/updater.c
index 25b20a7d..27691404 100644
--- a/futility/updater.c
+++ b/futility/updater.c
@@ -639,8 +639,8 @@ int load_firmware_image(struct firmware_image *image, const char *file_name,
ERROR("Does not exist: %s\n", file_name);
return -1;
}
- if (archive_read_file(archive, file_name, &image->data, &image->size) !=
- VB2_SUCCESS) {
+ if (archive_read_file(archive, file_name, &image->data, &image->size, NULL)
+ != VB2_SUCCESS) {
ERROR("Failed to load %s\n", file_name);
return -1;
}