mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
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:
@@ -159,5 +159,5 @@ errout_with_csection:
|
||||
errout_with_lock:
|
||||
sched_unlock();
|
||||
set_errno(errcode);
|
||||
return ERROR;
|
||||
return errcode ? ERROR : OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user