mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 09:21:26 +03:00
core: replace strcmp() == 0 with streq()
This commit is contained in:
parent
e940c1ef1d
commit
70d54d9072
@ -1169,7 +1169,7 @@ int config_parse_capability_set(
|
||||
rvalue++;
|
||||
}
|
||||
|
||||
if (strcmp(lvalue, "CapabilityBoundingSet") == 0)
|
||||
if (streq(lvalue, "CapabilityBoundingSet"))
|
||||
initial = CAP_ALL; /* initialized to all bits on */
|
||||
/* else "AmbientCapabilities" initialized to all bits off */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user