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:
@ -371,7 +371,7 @@ get_file_size (const char* path)
|
||||
|
||||
rv = stat (path, &statbuf);
|
||||
if (rv != 0) {
|
||||
/* g_warning ("error: %s", strerror (errno)); */
|
||||
/* g_warning ("error: %s", g_strerror (errno)); */
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user