diff options
author | Philip Withnall <withnall@endlessm.com> | 2017-06-20 14:58:14 +0100 |
---|---|---|
committer | Philip Withnall <withnall@endlessm.com> | 2017-06-21 11:20:29 +0100 |
commit | 18f8b77c04be373fd4f65560519ab0e09596801e (patch) | |
tree | 161f01856fcef52e947bfcbb2b7c4dc572061ef0 /gio/tests/gdbus-peer.c | |
parent | c8e268bbce70ee05da5a94e424517168a14c7645 (diff) | |
download | glib-18f8b77c04be373fd4f65560519ab0e09596801e.tar.gz |
gio: Use g_strerror() instead of strerror()
This marginally improves thread safety, and marginally improves
consistency.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://bugzilla.gnome.org/show_bug.cgi?id=733821
Diffstat (limited to 'gio/tests/gdbus-peer.c')
-rw-r--r-- | gio/tests/gdbus-peer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/tests/gdbus-peer.c b/gio/tests/gdbus-peer.c index 845eb3666..8737ee846 100644 --- a/gio/tests/gdbus-peer.c +++ b/gio/tests/gdbus-peer.c @@ -626,7 +626,7 @@ read_all_from_fd (gint fd, gsize *out_len, GError **error) "Failed reading %d bytes into offset %d: %s", (gint) sizeof (buf), (gint) str->len, - strerror (errno)); + g_strerror (errno)); goto error; } else if (num_read > 0) |