index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-05-02 17:25:45 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-05-05 12:08:59 -0500 |
commit | 3045f09ef49d775fec5e772f5f8b894e31388fbf (patch) | |
tree | ca2c076dd353e61e1f0e7b8a73261896ed22fb00 /lib/libalpm/be_local.c | |
parent | 73c74355abf0f6759a2f9a9219ea571444b6495a (diff) |
-rw-r--r-- | lib/libalpm/be_local.c | 5 |
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c index d4f7b38e..bdfdb4fd 100644 --- a/lib/libalpm/be_local.c +++ b/lib/libalpm/be_local.c @@ -434,7 +434,7 @@ static int local_db_populate(pmdb_t *db) } /* add to the collection */ - _alpm_log(PM_LOG_DEBUG, "adding '%s' to package cache for db '%s'\n", + _alpm_log(PM_LOG_FUNCTION, "adding '%s' to package cache for db '%s'\n", pkg->name, db->treename); db->pkgcache = _alpm_pkghash_add(db->pkgcache, pkg); count++; @@ -444,6 +444,9 @@ static int local_db_populate(pmdb_t *db) if(count > 0) { db->pkgcache->list = alpm_list_msort(db->pkgcache->list, (size_t)count, _alpm_pkg_cmp); } + _alpm_log(PM_LOG_DEBUG, "added %d packages to package cache for db '%s'\n", + count, db->treename); + return count; } |