Merge pull request #9176 from keszybz/flags-set
Macro to check if flags are set
This commit is contained in:
@@ -251,7 +251,7 @@ static int condition_test_control_group_controller(Condition *c) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
return (system_mask & wanted_mask) == wanted_mask;
|
||||
return FLAGS_SET(system_mask, wanted_mask);
|
||||
}
|
||||
|
||||
static int condition_test_group(Condition *c) {
|
||||
|
||||
Reference in New Issue
Block a user