xbps-query: fix an obvious tyop that broke -RX.

This commit is contained in:
Juan RP 2014-08-19 16:59:25 +02:00
parent d7c7783ac2
commit 3f22aca00c

View File

@ -198,9 +198,9 @@ show_pkg_revdeps(struct xbps_handle *xhp, const char *pkg, bool repomode)
const char *pkgdep; const char *pkgdep;
if (repomode) if (repomode)
revdeps = xbps_pkgdb_get_pkg_revdeps(xhp, pkg);
else
revdeps = xbps_rpool_get_pkg_revdeps(xhp, pkg); revdeps = xbps_rpool_get_pkg_revdeps(xhp, pkg);
else
revdeps = xbps_pkgdb_get_pkg_revdeps(xhp, pkg);
if (revdeps == NULL) if (revdeps == NULL)
return ENOENT; return ENOENT;