diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-09-09 22:00:49 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-09-09 22:00:49 +0300 |
commit | b42421722ea94ba813f6a7a30f344a6792a6bb45 (patch) | |
tree | 5f9b4c9cd3d41bd428063df2d2e513e5bf577343 /src | |
parent | 7d5cd2c8a0052a7446515f90d3d0ea5cc2e93efe (diff) | |
download | apk-tools-b42421722ea94ba813f6a7a30f344a6792a6bb45.tar.gz apk-tools-b42421722ea94ba813f6a7a30f344a6792a6bb45.tar.bz2 apk-tools-b42421722ea94ba813f6a7a30f344a6792a6bb45.tar.xz apk-tools-b42421722ea94ba813f6a7a30f344a6792a6bb45.zip |
upgrade: fix context allocation
Diffstat (limited to 'src')
-rw-r--r-- | src/upgrade.c | 1 |
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, |