Use xbps_{error,warn}_printf() everywhere.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user