From: pr.jung Date: Wed, 16 Mar 2016 09:14:06 +0000 (+0900) Subject: Remove thread unsafety function usage. X-Git-Tag: submit/tizen/20160318.062127^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=24a8d470abaec09e3afa2bf9f0fbcf22a48e42d2;p=platform%2Fcore%2Fsystem%2Flibdevice-node.git Remove thread unsafety function usage. Change-Id: I8d086de719e6942737864eb56e9a054da4a2457d Signed-off-by: pr.jung --- diff --git a/devices/extcon.c b/devices/extcon.c index 21f7313..cdaa812 100644 --- a/devices/extcon.c +++ b/devices/extcon.c @@ -39,7 +39,7 @@ static int parent(pid_t pid) _I("%d stopped by signal %d", pid, WSTOPSIG(status)); } } else { - _I("%d waitpid() failed : %s", pid, strerror(errno)); + _I("%d waitpid() failed : %d", pid, errno); } return -EAGAIN;