From 24a8d470abaec09e3afa2bf9f0fbcf22a48e42d2 Mon Sep 17 00:00:00 2001 From: "pr.jung" Date: Wed, 16 Mar 2016 18:14:06 +0900 Subject: [PATCH] Remove thread unsafety function usage. Change-Id: I8d086de719e6942737864eb56e9a054da4a2457d Signed-off-by: pr.jung --- devices/extcon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1