diff options
Diffstat (limited to 'tests/gem_mmap.c')
-rw-r--r-- | tests/gem_mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_mmap.c b/tests/gem_mmap.c index 33ffe452..bbc5c4cf 100644 --- a/tests/gem_mmap.c +++ b/tests/gem_mmap.c @@ -93,7 +93,7 @@ igt_main igt_subtest("short-mmap") { igt_assert(OBJECT_SIZE > 4096); handle = gem_create(fd, OBJECT_SIZE); - addr = gem_mmap__cpu(fd, handle, 4096, PROT_WRITE); + addr = gem_mmap__cpu(fd, handle, 0, 4096, PROT_WRITE); memset(addr, 0, 4096); munmap(addr, 4096); gem_close(fd, handle); |