lib/repo_pkgdeps.c: fix some debug printfs.

This commit is contained in:
Juan RP 2015-02-02 09:37:34 +01:00
parent 0c208bb744
commit 3bc6354550

View File

@ -293,14 +293,14 @@ find_repo_deps(struct xbps_handle *xhp,
}
rv = add_missing_reqdep(xhp, reqpkg);
if (rv != 0 && rv != EEXIST) {
xbps_dbg_printf_append(xhp, "`%s': add_missing_reqdep failed %s\n", reqpkg);
xbps_dbg_printf(xhp, "`%s': add_missing_reqdep failed %s\n", reqpkg);
break;
} else if (rv == EEXIST) {
xbps_dbg_printf_append(xhp, "`%s' missing dep already added.\n", reqpkg);
xbps_dbg_printf(xhp, "`%s' missing dep already added.\n", reqpkg);
rv = 0;
continue;
} else {
xbps_dbg_printf_append(xhp, "`%s' added into the missing deps array.\n", reqpkg);
xbps_dbg_printf(xhp, "`%s' added into the missing deps array.\n", reqpkg);
continue;
}
}