summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_display.c
diff options
context:
space:
mode:
authorWonki Kim <wonki_.kim@samsung.com>2019-02-13 09:58:11 -0500
committerChristopher Michael <cp.michael@samsung.com>2019-02-13 09:58:11 -0500
commite355373e3213c452492921ca728412fad54011dc (patch)
tree97785d619232d87c486a489bdd88984432ae519d /src/lib/ecore_wl2/ecore_wl2_display.c
parentefa85f35f447b54a6996337a11d13e3734f110bd (diff)
ecore_wl2: fix a non-thread safe call.
Summary: this patch contains a change to replace non-thread safe call 'strerror' with eina_error_msg_get. Reviewers: cedric, bu5hm4n, devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7921
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c b/src/lib/ecore_wl2/ecore_wl2_display.c
index 376f21da1b..8699dfaace 100644
--- a/src/lib/ecore_wl2/ecore_wl2_display.c
+++ b/src/lib/ecore_wl2/ecore_wl2_display.c
@@ -520,7 +520,7 @@ _begin_recovery_maybe(Ecore_Wl2_Display *ewd, int code)
520 _recovery_timer_add(ewd); 520 _recovery_timer_add(ewd);
521 else if (!_server_displays) 521 else if (!_server_displays)
522 { 522 {
523 ERR("Wayland Socket Error: %s", strerror(errno)); 523 ERR("Wayland Socket Error: %s", eina_error_msg_get(errno));
524 _ecore_wl2_display_signal_exit(); 524 _ecore_wl2_display_signal_exit();
525 } 525 }
526} 526}