Change code to compile with -Wall -Wextra.

--HG--
extra : convert_revision : 992e1515458c6ee36cd481d1ba0ff8febf892d12
This commit is contained in:
Juan RP
2009-02-18 01:07:51 +01:00
parent 028cacdd2a
commit 3b18195a6a
8 changed files with 34 additions and 12 deletions

View File

@@ -166,7 +166,7 @@ install_binpkg_repo_cb(prop_object_t obj, void *arg, bool *cbloop_done)
/*
* Install all required dependencies and the package itself.
*/
if ((rv = xbps_install_pkg_deps(pkgrd, destdir, cb->flags)) == 0) {
if ((rv = xbps_install_pkg_deps(pkgname, destdir, cb->flags)) == 0) {
rv = xbps_install_binary_pkg_fini(repod, pkgrd, destdir,
cb->flags);
prop_object_release(repod);