aboutsummaryrefslogtreecommitdiff
path: root/libc/bionic/sched_getaffinity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/bionic/sched_getaffinity.cpp')
-rw-r--r--libc/bionic/sched_getaffinity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/bionic/sched_getaffinity.cpp b/libc/bionic/sched_getaffinity.cpp
index 26f22b110..0c869e4a5 100644
--- a/libc/bionic/sched_getaffinity.cpp
+++ b/libc/bionic/sched_getaffinity.cpp
@@ -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 rc = __sched_getaffinity(pid, set_size, set);
if (rc == -1) {
- return -1;
+ return -1;
}
// Clear any bytes the kernel didn't touch.