]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r273837:
authordim <dim@FreeBSD.org>
Sat, 1 Nov 2014 13:45:01 +0000 (13:45 +0000)
committerdim <dim@FreeBSD.org>
Sat, 1 Nov 2014 13:45:01 +0000 (13:45 +0000)
commitd8d62b896b89f951f88e70ff55e1b80172582d95
treef53751d5f50077df48f42b3ec0e4bc4c1a564f73
parent4ca13eed64055e743be103902210019d21e7a458
MFC r273837:

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
lib/libutil/login_class.c