sched/: Fix return value in sched_setaffinity()
This commit is contained in:
parent
e57a5755cc
commit
4530a72379
@ -159,5 +159,5 @@ errout_with_csection:
|
||||
errout_with_lock:
|
||||
sched_unlock();
|
||||
set_errno(errcode);
|
||||
return ERROR;
|
||||
return errcode ? ERROR : OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user