From 70d54d907219d737fa007ae0aab0703b8e55511f Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 1 Aug 2017 08:55:15 +0900 Subject: [PATCH] core: replace strcmp() == 0 with streq() --- src/core/load-fragment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c index 95742dd8c7..ac946561dc 100644 --- a/src/core/load-fragment.c +++ b/src/core/load-fragment.c @@ -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 */