Use xbps_{error,warn}_printf() everywhere.

This commit is contained in:
Juan RP
2011-01-30 18:23:33 +01:00
parent e04f167d09
commit fca3d6b9bf
8 changed files with 77 additions and 81 deletions

View File

@@ -98,9 +98,9 @@ find_files_in_package(struct repository_pool_index *rpi, void *arg, bool *done)
XBPS_PKGFILES);
free(url);
if (pkg_filesd == NULL) {
fprintf(stderr, "E: couldn't get '%s' from '%s' "
"in repo '%s: %s'\n", XBPS_PKGFILES, pkgname, rpi->rpi_uri,
strerror(errno));
xbps_error_printf("xbps-repo: couldn't read '%s' "
"from '%s (%s)': %s\n", XBPS_PKGFILES, pkgname,
rpi->rpi_uri, strerror(errno));
rv = -1;
break;
}