]> git.ipfire.org Git - thirdparty/systemd.git/commit
proc-cmdline: use FLAGS_SET() where appropriate
authorLennart Poettering <lennart@poettering.net>
Fri, 26 Oct 2018 10:00:37 +0000 (12:00 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 26 Oct 2018 10:00:37 +0000 (12:00 +0200)
commitcb447ff5cc99e8c122a88fa78d7b80e4c572529b
treecb7f6c5ac2a5592e3de445858eda199c9ea26dd5
parent9de12b2ef4ccd95e7e1a4f37d507c50100dda637
proc-cmdline: use FLAGS_SET() where appropriate

This was mostly prompted by seeing the expression "in_initrd() && flags
& PROC_CMDLINE_RD_STRICT", which uses & and && without any brackets.
Let's make that a bit more readable and hide all doubts about operator
precedence.
src/basic/proc-cmdline.c