From a5d40a9bf27c2a41a981cb6fa168b1e68bfc0b3c Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Fri, 11 Oct 2013 20:53:40 +0200 Subject: [PATCH] tests/kms_flip: fix igt_assert I've blown the conversion in commit 37e5b318c5dac290611099e2eec21df1e49fa71f Author: Daniel Vetter Date: Fri Oct 4 18:42:26 2013 +0200 tests/kms_flip: use igt_assert more Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70332 Signed-off-by: Daniel Vetter --- tests/kms_flip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kms_flip.c b/tests/kms_flip.c index a656d66..227a176 100644 --- a/tests/kms_flip.c +++ b/tests/kms_flip.c @@ -841,7 +841,7 @@ static unsigned int run_test_step(struct test_output *o) set_dpms(o, DRM_MODE_DPMS_OFF); if (o->flags & TEST_MODESET && !(o->flags & TEST_RMFB)) - igt_assert_f(set_mode(o, 0 /* no fb */, 0, 0), + igt_assert_f(set_mode(o, 0 /* no fb */, 0, 0) == 0, "failed to disable output: %s\n", strerror(errno)); -- 2.7.4