Fix encoding of error message

Use g_strerror instead of strerror to get UTF-8
This commit is contained in:
Pascal Terjan
2010-03-23 18:09:14 +01:00
parent 4e77734d49
commit aab051f944

View File

@ -360,7 +360,7 @@ static void *
fail (GError **err, const char *what)
{
g_set_error (err, COLLECTOR_ERROR, COLLECTOR_ERROR_FAILED,
"%s: %s", what, strerror (errno));
"%s: %s", what, g_strerror (errno));
return NULL;
}