summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/present-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/present-test.c b/test/present-test.c
index e90ef477..6f6d6a88 100644
--- a/test/present-test.c
+++ b/test/present-test.c
@@ -434,7 +434,7 @@ static int for_each_crtc(Display *dpy,
free(original_crtc);
XRRFreeScreenResources(res);
- return j;
+ return err;
}
struct test_crtc {