summaryrefslogtreecommitdiff
path: root/src/upgrade.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/upgrade.c')
-rw-r--r--src/upgrade.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/upgrade.c b/src/upgrade.c
index 5afccfd..e1f44bd 100644
--- a/src/upgrade.c
+++ b/src/upgrade.c
@@ -96,6 +96,7 @@ static struct apk_applet apk_upgrade = {
.help = "Upgrade (or downgrade with -a) the currently installed "
"packages to versions available in repositories.",
.open_flags = APK_OPENF_WRITE,
+ .context_size = sizeof(struct upgrade_ctx),
.num_options = ARRAY_SIZE(upgrade_options),
.options = upgrade_options,
.parse = upgrade_parse,