commit | 7672521440c8b7f98795c3fb4295227398e3e296 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Oct 15 23:53:45 2013 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Oct 15 23:53:45 2013 +0000 |
tree | aeb953cffdbd906743690e5f0911059cb4cab42e | |
parent | d16391bb88d92a58e3492921ac75a1d5d86031b7 [diff] | |
parent | d1eda33f012e46083b91e087fb79d14a5ce70f0e [diff] |
Merge "Avoid confusing "read prevented write" log messages."
diff --git a/libc/bionic/sched_getaffinity.cpp b/libc/bionic/sched_getaffinity.cpp index 26f22b1..0c869e4 100644 --- a/libc/bionic/sched_getaffinity.cpp +++ b/libc/bionic/sched_getaffinity.cpp
@@ -35,7 +35,7 @@ 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.