Dimitry Andric b149798e50 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
2014-10-29 20:18:37 +00:00
..
2012-03-26 19:23:57 +00:00
2014-05-03 16:18:42 +00:00
2013-06-29 15:52:48 +00:00
2012-12-27 20:24:44 +00:00