src/lib/cgroup.c: fix a compiler warning
clang gives this:
| CC cgroup.lo
| cgroup.c:344:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
| if ((ret == ECGROUPNOTEXIST)) {
| ~~~~^~~~~~~~~~~~~~~~~~
| cgroup.c:344:11: note: remove extraneous parentheses around the comparison to silence this warning
| if ((ret == ECGROUPNOTEXIST)) {
| ~ ^ ~
| cgroup.c:344:11: note: use '=' to turn this equality comparison into an assignment
| if ((ret == ECGROUPNOTEXIST)) {
| ^~
| =
| 1 warning generated.
Fix it.
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed