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

@@ -51,7 +51,7 @@ write_plist_file(prop_dictionary_t dict, const char *file)
if (!prop_dictionary_externalize_to_zfile(dict, file)) {
prop_object_release(dict);
printf("=> ERROR: couldn't write to %s (%s)",
xbps_error_printf("xbps-uhelper: couldn't write to %s: %s",
file, strerror(errno));
exit(EXIT_FAILURE);
}