Merged in masayuki2009/nuttx.nuttx/smp_test (pull request #451)
sched/: Fix return value in sched_setaffinity() Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
commit
1dfed49a3c
@ -159,5 +159,5 @@ errout_with_csection:
|
||||
errout_with_lock:
|
||||
sched_unlock();
|
||||
set_errno(errcode);
|
||||
return ERROR;
|
||||
return errcode ? ERROR : OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user