summaryrefslogtreecommitdiff
path: root/lib/igt_debugfs.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-08-29 13:11:40 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-08-29 13:20:36 +0100
commit3b94d3f8ce21c92d3209e73ab48fda64beb0037e (patch)
tree8467a7e779de0d82be02b212196fc6e5f39b3486 /lib/igt_debugfs.c
parentd0a41b47ea5ed1ac5ca45f83d2917c6ad41b644a (diff)
igt: Prettify igt_assert_eq() failure messages
This just improves the language about the exact failure to reduce confusion. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/igt_debugfs.c')
-rw-r--r--lib/igt_debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c
index 123cf13e9..7f04181e6 100644
--- a/lib/igt_debugfs.c
+++ b/lib/igt_debugfs.c
@@ -468,7 +468,7 @@ static bool read_one_crc(igt_pipe_crc_t *pipe_crc, igt_crc_t *out)
bytes_read = read(pipe_crc->crc_fd, &buf, pipe_crc->line_len);
igt_set_timeout(0);
- igt_assert_cmpint(bytes_read, ==, pipe_crc->line_len);
+ igt_assert_eq(bytes_read, pipe_crc->line_len);
buf[bytes_read] = '\0';
if (!pipe_crc_init_from_string(out, buf))