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++;
|
rvalue++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strcmp(lvalue, "CapabilityBoundingSet") == 0)
|
if (streq(lvalue, "CapabilityBoundingSet"))
|
||||||
initial = CAP_ALL; /* initialized to all bits on */
|
initial = CAP_ALL; /* initialized to all bits on */
|
||||||
/* else "AmbientCapabilities" initialized to all bits off */
|
/* else "AmbientCapabilities" initialized to all bits off */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user