app: Use g_strerror

This commit is contained in:
Bruno Lopes 2026-03-31 15:20:36 -03:00
parent d254c5684c
commit 657dceb3ed

View file

@ -867,7 +867,7 @@ gimp_font_factory_load_names (GimpFontFactory *factory)
fd = g_open ((gchar *) file, O_RDONLY, 0);
if (fd == -1)
{
g_string_append_printf (ignored_fonts, "- %s (access error: %s)\n", file, strerror (errno));
g_string_append_printf (ignored_fonts, "- %s (access error: %s)\n", file, g_strerror (errno));
n_ignored++;
continue;
}