Modify inappropritate condition check for task_create in tc_task 84/107984/1
authorjc_.kim <jc_.kim@samsung.com>
Mon, 2 Jan 2017 07:52:46 +0000 (16:52 +0900)
committerjc_.kim <jc_.kim@samsung.com>
Mon, 2 Jan 2017 07:52:46 +0000 (16:52 +0900)
commitbd255f16c1d74189a875b6eedc5ed55e98ffd2d1
tree91fc02547c916402c09a2f1688be54a8bc48e856
parent7d88692cb506da02b896f9961672e30731a27f6e
Modify inappropritate condition check for task_create in tc_task

task_create doesn't return the errno. when failed to create task,
it returns ERROR and sets errno.

Change-Id: I33750705143b6cbdd8c40510470cdaf5adf8615d
apps/examples/testcase/le_tc/kernel/tc_task.c