Use pv_perror() rather than perror(), for consistency.

This commit is contained in:
Andrew Wood
2026-04-18 21:46:16 +01:00
parent b12681d667
commit 25f43e129f
+1 -1
View File
@@ -279,7 +279,7 @@ size_t pv_strwidth(const char *string, size_t bytes)
} else {
allocated_wide = malloc(wide_string_buffer_size);
if (NULL == allocated_wide) {
perror("malloc");
pv_perror("%s", "malloc");
if (NULL != allocated_raw)
free(allocated_raw);
return raw_bytes;