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:
Wonki Kim 2019-02-13 09:58:11 -05:00 committed by Christopher Michael
parent efa85f35f4
commit e355373e32
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}
}