diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-05-06 18:30:15 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-06-04 22:22:02 -0400 |
commit | 1214ec8f4c2e8fd105a6d9159b85cf31c0c6c386 (patch) | |
tree | b1f3024081995e6628b4ec1037086a086a7e9928 /ChangeLog | |
parent | 3cc0cd4c5b3bed6f7d9aff26322d505785e11aa9 (diff) | |
download | glibc-1214ec8f4c2e8fd105a6d9159b85cf31c0c6c386.tar.gz glibc-1214ec8f4c2e8fd105a6d9159b85cf31c0c6c386.tar.xz glibc-1214ec8f4c2e8fd105a6d9159b85cf31c0c6c386.zip |
tst-getcpu: decode errno when sched_getcpu fails
The tst-getcpu test is failing on ia64 platforms due to sched_getcpu returning an error. But the current test only considers -1 when it's also ENOSYS. Tweak the logic a bit to make the output clearer. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 56f7637a3e..938c7aa1eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-06-04 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when + cpu2 is -1 and errno is not ENOSYS. + 2012-06-04 H.J. Lu <hongjiu.lu@intel.com> [BZ #14117] |