1
0
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:
Yu Watanabe 2017-08-01 08:55:15 +09:00
parent e940c1ef1d
commit 70d54d9072

View File

@ -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 */