Commit b4242172 authored by Timo Teräs's avatar Timo Teräs
Browse files

upgrade: fix context allocation

parent 7d5cd2c8
......@@ -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,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment