upgrade: fix context allocation

cute-signatures
Timo Teräs 2011-09-09 22:00:49 +03:00
parent 7d5cd2c8a0
commit b42421722e
1 changed files with 1 additions and 0 deletions

View File

@ -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,