]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r273837:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 1 Nov 2014 13:45:01 +0000 (13:45 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 1 Nov 2014 13:45:01 +0000 (13:45 +0000)
commitff1a462181ea51af6a8abe53da2601e103756a3a
treee6e3b748c5a92ca8484ea6f8739c8866b076715e
parent66dbf6a5b4205a480c14f51d34ff3c17be1e4492
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

git-svn-id: svn://svn.freebsd.org/base/stable/8@273931 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libutil/login_class.c