summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2014-01-02 19:37:11 +0100
committerAllan McRae <allan@archlinux.org>2014-01-06 05:38:50 +0100
commit8bec8a3f6a09155827aa8c3287f6d814c6912717 (patch)
tree6eebc6b0fd53fcff36c6557f09353dee0a195c8f
parentbad86247f74c181f9ae2e01fc71d5289f08f3bc3 (diff)
downloadpacman-8bec8a3f6a09155827aa8c3287f6d814c6912717.tar.gz
pacman-8bec8a3f6a09155827aa8c3287f6d814c6912717.tar.xz
Log more in search debug message
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--lib/libalpm/db.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index 2740955b..60423343 100644
--- a/lib/libalpm/db.c
+++ b/lib/libalpm/db.c
@@ -457,7 +457,8 @@ alpm_list_t *_alpm_db_search(alpm_db_t *db, const alpm_list_t *needles)
if(matched != NULL) {
_alpm_log(db->handle, ALPM_LOG_DEBUG,
- "search target '%s' matched '%s'\n", targ, matched);
+ "search target '%s' matched '%s' on package '%s'\n",
+ targ, matched, name);
ret = alpm_list_add(ret, pkg);
}
}