diff options
author | ngie <ngie@FreeBSD.org> | 2017-02-09 21:19:24 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-02-09 21:19:24 +0000 |
commit | d881b8eb8843bab6213c03d985c02dbbff945c39 (patch) | |
tree | 4ddaae7df858c39d4efe649e53a1d9ba02673ff0 /contrib/netbsd-tests/lib/libc/stdlib/h_atexit.c | |
parent | c286d65a4db083caf43ec32fa9241865aa1293d2 (diff) | |
download | FreeBSD-src-d881b8eb8843bab6213c03d985c02dbbff945c39.zip FreeBSD-src-d881b8eb8843bab6213c03d985c02dbbff945c39.tar.gz |
MFC r279154,r279397:
r279154 (by jilles):
nice(): Correct return value and [EPERM] error.
PR: 189821
Obtained from: NetBSD
Relnotes: yes
r279397 (by jilles):
nice(): Put back old return value, keeping [EPERM] error.
Commit r279154 changed the API and ABI significantly, and {NZERO} is still
wrong.
Also, preserve errno on success instead of setting it to 0.
PR: 189821
Relnotes: yes
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdlib/h_atexit.c')
0 files changed, 0 insertions, 0 deletions