summaryrefslogtreecommitdiff
path: root/lib/libalpm/add.c
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2006-01-28 04:48:51 +0000
committerJudd Vinet <judd@archlinux.org>2006-01-28 04:48:51 +0000
commitf3c5f9b4d1eaa34c0d3893e985900b908f0b08b0 (patch)
tree05e50e63f3e18d00e63b2ec8a25bfa87284ab40b /lib/libalpm/add.c
parent25a9e070e85cf2d8d007b3fb3b221d91ec079f3b (diff)
downloadpacman-f3c5f9b4d1eaa34c0d3893e985900b908f0b08b0.tar.xz
Search through package provides if no literal matches are found when scanning for targets with -S
Diffstat (limited to 'lib/libalpm/add.c')
-rw-r--r--lib/libalpm/add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c
index e6af43a9..a7fb922d 100644
--- a/lib/libalpm/add.c
+++ b/lib/libalpm/add.c
@@ -647,7 +647,7 @@ int add_commit(pmtrans_t *trans, pmdb_t *db)
continue;
}
}
- _alpm_log(PM_LOG_DEBUG, "adding '%s' in requiredby field for '%s'", tmpp->name, info->name);
+ _alpm_log(PM_LOG_DEBUG, "adding '%s' in requiredby field for '%s'", info->name, depinfo->name);
depinfo->requiredby = pm_list_add(depinfo->requiredby, strdup(info->name));
if(db_write(db, depinfo, INFRQ_DEPENDS)) {
_alpm_log(PM_LOG_ERROR, "could not update 'requiredby' database entry '%s-%s'",