index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2009-12-07 22:48:59 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-12-07 22:48:59 -0600 |
commit | 926dfe5827d13a38f02efb2da1d9ceab38e9fc16 (patch) | |
tree | 0f736e488cca8f5889993d7171d86ec62cfa995f /lib/libalpm | |
parent | 03f35b1432675f5b10ec53945e48c2bbd7c628e9 (diff) |
-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)); } } |