svn commit: r228470 - head/sys/kern
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Dec 13 15:36:09 UTC 2011
On Tue, Dec 13, 2011 at 02:00:28PM +0000, Eitan Adler wrote:
> Author: eadler (ports committer)
> Date: Tue Dec 13 14:00:27 2011
> New Revision: 228470
> URL: http://svn.freebsd.org/changeset/base/228470
>
> Log:
> - Add a sysctl to allow non-root users the ability to set idle
> priorities.
[...]
I'd suggest using consistent style with those two:
[...]
> + unprivileged_idprio == 0)) {
[...]
> + !unprivileged_idprio)) {
[...]
Because it should be either 0 or 1, the latter is better.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20111213/23ea04e3/attachment.pgp
More information about the svn-src-head
mailing list