HomeFreeBSD

Fix a clang 3.5 warning about abs(3) being given an argument of type

Description

Fix a clang 3.5 warning about abs(3) being given an argument of type
quad_t in setusercontext(). While here, sanitize the clamping of the
priority value, and use the correct type for the return value of
login_getcapnum().

Reviewed by: kib
MFC after: 3 days

Details

Provenance
dimAuthored on
Parents
rS273836: Fix output file name for openstack images.
Branches
Unknown
Tags
Unknown

Event Timeline