summaryrefslogtreecommitdiff
path: root/tests/vgem_basic.c
diff options
context:
space:
mode:
authorMichał Winiarski <michal.winiarski@intel.com>2019-03-13 12:29:10 +0100
committerMichał Winiarski <michal.winiarski@intel.com>2019-03-20 10:36:36 +0100
commit8e3fe6a3ed679fa2bf78149a8ed2e6088c7c67e3 (patch)
tree5c4ede455574b371b071a00393fd7af75e2a3270 /tests/vgem_basic.c
parent023d7b426dcf9810fc62e783dfaf7e282cd97641 (diff)
lib/igt_sysfs: Remove idx from sysfs_open
Similar to sysfs_path - more explicit more better. Signed-off-by: Michał Winiarski <michal.winiarski@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/vgem_basic.c')
-rw-r--r--tests/vgem_basic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vgem_basic.c b/tests/vgem_basic.c
index 1a952c54..526636dd 100644
--- a/tests/vgem_basic.c
+++ b/tests/vgem_basic.c
@@ -262,7 +262,7 @@ static void test_dmabuf_fence_before(int fd)
static void test_sysfs_read(int fd)
{
- int dir = igt_sysfs_open(fd, NULL);
+ int dir = igt_sysfs_open(fd);
DIR *dirp = fdopendir(dir);
struct dirent *de;