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) { /*