[pacman-dev] [PATCH] Log more in search debug message

Dan McGee dan at archlinux.org
Thu Jan 2 13:37:11 EST 2014


Signed-off-by: Dan McGee <dan at archlinux.org>
---
 lib/libalpm/db.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index 2069a7b..9f7d669 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);
 			}
 		}
-- 
1.8.5.2



More information about the pacman-dev mailing list