diff options
author | Connor Behan <connor.behan@gmail.com> | 2015-03-24 13:53:51 -0400 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2015-04-05 15:33:33 +0100 |
commit | 1490055bc05fa941b59d10e89ef3fccd673af477 (patch) | |
tree | 0c67da0b987f344232a140a3f4ee1e426ad96a03 | |
parent | 37dc0a14cf899307863151bb6bd1cf4256e017e2 (diff) |
xf86drm: Fix ioctl struct clearing in drmAgpEnable
This one is a bit harder to notice.
Signed-off-by: Connor Behan <connor.behan@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r-- | xf86drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1719,7 +1719,7 @@ int drmAgpEnable(int fd, unsigned long mode) { drm_agp_mode_t m; - memclear(mode); + memclear(m); m.mode = mode; if (drmIoctl(fd, DRM_IOCTL_AGP_ENABLE, &m)) return -errno; |