summaryrefslogtreecommitdiff
path: root/tests/kms_vblank.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_vblank.c')
-rw-r--r--tests/kms_vblank.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_vblank.c b/tests/kms_vblank.c
index 569390e9..5a00cccf 100644
--- a/tests/kms_vblank.c
+++ b/tests/kms_vblank.c
@@ -101,7 +101,7 @@ static void query(int fd, bool busy)
busy ? "busy" : "idle", elapsed(&start, &end, count));
if (busy)
- read(fd, buf, sizeof(buf));
+ igt_assert_eq(read(fd, buf, sizeof(buf)), sizeof(buf));
}
igt_main