aboutsummaryrefslogtreecommitdiffstats
path: root/cg-limits.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-10-07 20:25:06 +0200
committerMattias Andrée <maandree@kth.se>2019-10-07 20:25:06 +0200
commitf4c4ba55c74982e03bc41852156dac857d91b06d (patch)
tree581201eac6899473c5b9ec871d0f4b95961c5526 /cg-limits.c
parentChange coding style and fix warnings (diff)
downloadcg-tools-f4c4ba55c74982e03bc41852156dac857d91b06d.tar.gz
cg-tools-f4c4ba55c74982e03bc41852156dac857d91b06d.tar.bz2
cg-tools-f4c4ba55c74982e03bc41852156dac857d91b06d.tar.xz
Minor fixes1.4
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'cg-limits.c')
-rw-r--r--cg-limits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cg-limits.c b/cg-limits.c
index 242d46b..8f596f2 100644
--- a/cg-limits.c
+++ b/cg-limits.c
@@ -648,7 +648,7 @@ start(void)
r = update_filter(i, 0);
if (r == -2 || (r == -1 && errno != EAGAIN))
return cleanup(r);
- if (!crtc_updates[i].slaves) {
+ if (crtc_updates[i].slaves) {
for (j = 0; crtc_updates[i].slaves[j]; j++) {
r = update_filter(crtc_updates[i].slaves[j], 0);
if (r == -2 || (r == -1 && errno != EAGAIN))