summaryrefslogtreecommitdiff
path: root/tests/gem_mmap_wc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_mmap_wc.c')
-rw-r--r--tests/gem_mmap_wc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_mmap_wc.c b/tests/gem_mmap_wc.c
index 6e434652..0a5326e9 100644
--- a/tests/gem_mmap_wc.c
+++ b/tests/gem_mmap_wc.c
@@ -104,7 +104,7 @@ test_invalid_flags(int fd)
gp.value = &val;
/* Do we have the new mmap_ioctl? */
- do_ioctl(fd, DRM_IOCTL_I915_GETPARAM, &gp);
+ drmIoctl(fd, DRM_IOCTL_I915_GETPARAM, &gp);
if (val >= 1) {
/*