diff options
Diffstat (limited to 'tests/gem_exec_faulting_reloc.c')
-rw-r--r-- | tests/gem_exec_faulting_reloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_exec_faulting_reloc.c b/tests/gem_exec_faulting_reloc.c index e16b5804..67fc4100 100644 --- a/tests/gem_exec_faulting_reloc.c +++ b/tests/gem_exec_faulting_reloc.c @@ -200,7 +200,7 @@ static void run(int object_size) handle_relocs = gem_create(fd, 4096); gem_write(fd, handle_relocs, 0, reloc, sizeof(reloc)); - gtt_relocs = gem_mmap__gtt(fd, handle_relocs, 4096, + gtt_relocs = __gem_mmap__gtt(fd, handle_relocs, 4096, PROT_READ | PROT_WRITE); igt_assert(gtt_relocs); |