Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-08-05 20:05:42 +1000
committerDan McGee <dan@archlinux.org>2012-08-07 20:30:54 -0500
commitc9b31ad6220e7706caf0bad55355957bfcd041cb (patch)
treefd28545f80184bce904122c419af568aad5bb292
parentb782388f1670d9ff819461cfa7e365f7e8178173 (diff)
Print repo being search for replaces in debug output
Given the message is repeated for each repo, it is a good idea to print the repo name in the output. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--lib/libalpm/sync.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index e660d8e7..e500d90f 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -127,7 +127,8 @@ static alpm_list_t *check_replacers(alpm_handle_t *handle, alpm_pkg_t *lpkg,
alpm_list_t *replacers = NULL;
alpm_list_t *k;
_alpm_log(handle, ALPM_LOG_DEBUG,
- "searching for replacements for %s\n", lpkg->name);
+ "searching for replacements for %s in %s\n",
+ lpkg->name, sdb->treename);
for(k = _alpm_db_get_pkgcache(sdb); k; k = k->next) {
int found = 0;
alpm_pkg_t *spkg = k->data;