diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-11-21 19:48:51 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-11-27 16:18:04 +0200 |
commit | e1e5856b3ce09e9d8b0899e10cf7e3ef724679d5 (patch) | |
tree | f7b093452698ea4b76d0bbd692f961c6545c9436 | |
parent | 6720dd4b2cb657705ccb31fd87d85cd6831ea2f2 (diff) |
lib: Fix pipe_crc->ctl_fd assert
Use the correct fd in the assert().
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
-rw-r--r-- | lib/igt_debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c index 7d7f651b..1ceaf59d 100644 --- a/lib/igt_debugfs.c +++ b/lib/igt_debugfs.c @@ -218,7 +218,7 @@ igt_pipe_crc_new(igt_debugfs_t *debugfs, int drm_fd, enum pipe pipe, pipe_crc->ctl_fd = igt_debugfs_open(debugfs, "i915_display_crc_ctl", O_WRONLY); - igt_assert(pipe_crc->crc_fd != -1); + igt_assert(pipe_crc->ctl_fd != -1); sprintf(buf, "i915_pipe_%c_crc", pipe_name(pipe)); pipe_crc->crc_fd = igt_debugfs_open(debugfs, buf, O_RDONLY); |