diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-16 14:46:39 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-17 09:47:50 +0100 |
commit | 9a7609a8e48ac69bfd786087abd18c8a858d6ad3 (patch) | |
tree | 0fd68f8486c43a908520fd9496d3b5412951e7b8 /tests/kms_pipe_crc_basic.c | |
parent | f04f17bcd404d7be720148fee6bb425cdb41dab1 (diff) |
lib/igt_debugfs: Remove debugfs from igt_debugfs_fopen
Also add a missing igt_assert to kms_fbc_crc and again add the missing
Returns: section to the api doc.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/kms_pipe_crc_basic.c')
-rw-r--r-- | tests/kms_pipe_crc_basic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c index 9aa34275..da559736 100644 --- a/tests/kms_pipe_crc_basic.c +++ b/tests/kms_pipe_crc_basic.c @@ -43,7 +43,7 @@ static void test_bad_command(data_t *data, const char *cmd) FILE *ctl; size_t written; - ctl = igt_debugfs_fopen(&data->debugfs, "i915_display_crc_ctl", "r+"); + ctl = igt_debugfs_fopen("i915_display_crc_ctl", "r+"); written = fwrite(cmd, 1, strlen(cmd), ctl); fflush(ctl); igt_assert_cmpint(written, ==, (strlen(cmd))); |