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:
@ -229,7 +229,7 @@ test_file (const char *path)
|
||||
file = fopen (path, "r");
|
||||
if (!file) {
|
||||
g_warning ("cannot open file '%s': %s", path,
|
||||
strerror(errno));
|
||||
g_strerror(errno));
|
||||
rv = FALSE;
|
||||
goto leave;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user