summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--collector.c2
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;
}