diff options
author | Pascal Terjan <pterjan@mandriva.com> | 2010-03-23 18:09:14 +0100 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.com> | 2010-03-23 18:09:14 +0100 |
commit | aab051f9442c7256790a58f57f0f23ec1b982390 (patch) | |
tree | f23a831bd8c8fba29e174b32f405e29e493b46dc | |
parent | 4e77734d490f1a077f474db1bc51ea5e1c4f2206 (diff) |
Fix encoding of error message
Use g_strerror instead of strerror to get UTF-8
-rw-r--r-- | collector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collector.c b/collector.c index 7eef464..d93f353 100644 --- a/collector.c +++ b/collector.c @@ -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; } |