task_restart.c:Fix style errors.

This commit is contained in:
David Sidrane 2020-03-08 05:51:35 -07:00 committed by patacongo
parent d986157bf3
commit 5e4a3223a4

View File

@ -115,7 +115,8 @@ int task_restart(pid_t pid)
tcb = (FAR struct task_tcb_s *)sched_gettcb(pid);
#ifndef CONFIG_DISABLE_PTHREAD
if (!tcb || (tcb->cmn.flags & TCB_FLAG_TTYPE_MASK) == TCB_FLAG_TTYPE_PTHREAD)
if (!tcb || (tcb->cmn.flags & TCB_FLAG_TTYPE_MASK) ==
TCB_FLAG_TTYPE_PTHREAD)
#else
if (!tcb)
#endif