projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e940c1e
)
core: replace strcmp() == 0 with streq()
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Mon, 31 Jul 2017 23:55:15 +0000
(08:55 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sun, 6 Aug 2017 04:08:40 +0000
(13:08 +0900)
src/core/load-fragment.c
patch
|
blob
|
history
diff --git
a/src/core/load-fragment.c
b/src/core/load-fragment.c
index 95742dd8c7bbebef19f1b9d0bbcf91768bc86ecf..ac946561dc27661ff0456976f846abb66123f448 100644
(file)
--- a/
src/core/load-fragment.c
+++ b/
src/core/load-fragment.c
@@
-1169,7
+1169,7
@@
int config_parse_capability_set(
rvalue++;
}
- if (str
cmp(lvalue, "CapabilityBoundingSet") == 0
)
+ if (str
eq(lvalue, "CapabilityBoundingSet")
)
initial = CAP_ALL; /* initialized to all bits on */
/* else "AmbientCapabilities" initialized to all bits off */