mu: use g_strerror instead of strerror
Some #includes were missing for the latter (but only noticeable on some systems - e.g., build breaks on Cygwin). So let's replace with something that works equally everywhere. Fixes: #2060
This commit is contained in:
@ -308,7 +308,7 @@ check_file_okay (const char *path, gboolean cmd_add)
|
||||
|
||||
if (cmd_add && access(path, R_OK) != 0) {
|
||||
g_printerr ("path is not readable: %s: %s\n",
|
||||
path, strerror (errno));
|
||||
path, g_strerror (errno));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user