forked from enlightenment/efl
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
This commit is contained in:
parent
efa85f35f4
commit
e355373e32
|
@ -520,7 +520,7 @@ _begin_recovery_maybe(Ecore_Wl2_Display *ewd, int code)
|
|||
_recovery_timer_add(ewd);
|
||||
else if (!_server_displays)
|
||||
{
|
||||
ERR("Wayland Socket Error: %s", strerror(errno));
|
||||
ERR("Wayland Socket Error: %s", eina_error_msg_get(errno));
|
||||
_ecore_wl2_display_signal_exit();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue