Merge "Fix indentation in sched_getaffinity."
This commit is contained in:
commit
d16391bb88
@ -35,7 +35,7 @@ extern "C" int __sched_getaffinity(pid_t, size_t, cpu_set_t*);
|
|||||||
int sched_getaffinity(pid_t pid, size_t set_size, cpu_set_t* set) {
|
int sched_getaffinity(pid_t pid, size_t set_size, cpu_set_t* set) {
|
||||||
int rc = __sched_getaffinity(pid, set_size, set);
|
int rc = __sched_getaffinity(pid, set_size, set);
|
||||||
if (rc == -1) {
|
if (rc == -1) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clear any bytes the kernel didn't touch.
|
// Clear any bytes the kernel didn't touch.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user