]> CyberLeo.Net >> Repos - FreeBSD/stable/10.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)
commite86cf26c19aac43288de05890f5ad4d9a21ec894
treef53751d5f50077df48f42b3ec0e4bc4c1a564f73
parentb9ae149868a6a39421fed6bc9d3405052ca66478
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/10@273931 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libutil/login_class.c