app: Use g_strerror
This commit is contained in:
parent
d254c5684c
commit
657dceb3ed
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue