index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/package.c | 2 |
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index 83a2fb8f..4ff04dab 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -573,7 +573,7 @@ alpm_list_t SYMEXPORT *alpm_pkg_compute_requiredby(pmpkg_t *pkg) } pmpkg_t *cachepkg = i->data; if(_alpm_dep_edge(cachepkg, pkg)) { - const char *cachepkgname = pkg->name; + const char *cachepkgname = cachepkg->name; reqs = alpm_list_add(reqs, strdup(cachepkgname)); } } |