summaryrefslogtreecommitdiff
path: root/lib/ioctl_wrappers.h
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2015-02-16 11:17:11 +0000
committerThomas Wood <thomas.wood@intel.com>2015-02-17 11:24:04 +0000
commita22548fec06faba738a2d59b45b54704e4757685 (patch)
tree03649320dbd47e25985b4261fc234b4114104d9e /lib/ioctl_wrappers.h
parentf8fd4c977a9dd32992bf5f244bde0b817f7e2c82 (diff)
lib: small documentation fixes
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'lib/ioctl_wrappers.h')
-rw-r--r--lib/ioctl_wrappers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ioctl_wrappers.h b/lib/ioctl_wrappers.h
index ea9f5598..7c0c87e0 100644
--- a/lib/ioctl_wrappers.h
+++ b/lib/ioctl_wrappers.h
@@ -74,7 +74,7 @@ void *gem_mmap__wc(int fd, uint32_t handle, int offset, int size, int prot);
* the gtt) write-combine memory mappings are available. Automatically skips
* through igt_require() if not.
*/
-#define gem_require_mmap_wc(x) igt_require(gem_mmap__has_wc(x))
+#define gem_require_mmap_wc(fd) igt_require(gem_mmap__has_wc(fd))
/**
* gem_mmap: