summaryrefslogtreecommitdiff
path: root/src/info.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-03-07 10:22:03 +0200
committerTimo Teräs <timo.teras@iki.fi>2014-03-07 10:22:03 +0200
commitf19566f6a85b165ab83ed8a0128fafda13a13aa6 (patch)
tree9a3a542ffe57902303cfc9c29a6c19299f2c4c7b /src/info.c
parentf8b1c3ef83a09aa8410e6619c6996b8c9ee0928e (diff)
downloadapk-tools-f19566f6a85b165ab83ed8a0128fafda13a13aa6.tar.gz
apk-tools-f19566f6a85b165ab83ed8a0128fafda13a13aa6.tar.bz2
apk-tools-f19566f6a85b165ab83ed8a0128fafda13a13aa6.tar.xz
apk-tools-f19566f6a85b165ab83ed8a0128fafda13a13aa6.zip
info: fix printing of 'replaces' field
Diffstat (limited to 'src/info.c')
-rw-r--r--src/info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/info.c b/src/info.c
index 9a9154e..c5b987b 100644
--- a/src/info.c
+++ b/src/info.c
@@ -284,7 +284,7 @@ static void info_print_triggers(struct apk_database *db, struct apk_package *pkg
static void info_print_replaces(struct apk_database *db, struct apk_package *pkg)
{
- info_print_dep_array(db, pkg, pkg->provides, "replaces");
+ info_print_dep_array(db, pkg, pkg->ipkg->replaces, "replaces");
}
static void info_subaction(struct info_ctx *ctx, struct apk_package *pkg)