HomeFreeBSD

nice(): Put back old return value, keeping [EPERM] error.

Description

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
Reported by: bde
Relnotes: yes

Details

Provenance
jillesAuthored on
Parents
rS279396: Format the line properly (wrap before column 80).
Branches
Unknown
Tags
Unknown

Event Timeline