This one is a bit harder to notice. Signed-off-by: Connor Behan <connor.behan@xxxxxxxxx> --- xf86drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xf86drm.c b/xf86drm.c index e73cddd..ffc53b8 100644 --- a/xf86drm.c +++ b/xf86drm.c @@ -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; -- 2.3.3 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel