summaryrefslogtreecommitdiff
path: root/libdrm/xf86drmCompat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdrm/xf86drmCompat.c')
-rw-r--r--libdrm/xf86drmCompat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdrm/xf86drmCompat.c b/libdrm/xf86drmCompat.c
index 002a9b07..4e3ccf3f 100644
--- a/libdrm/xf86drmCompat.c
+++ b/libdrm/xf86drmCompat.c
@@ -1020,7 +1020,7 @@ Bool drmSiSAgpInit(int driSubFD, int offset, int size)
agp.offset = offset;
agp.size = size;
- ioctl(driSubFD, SIS_IOCTL_AGP_INIT, &agp);
+ ioctl(driSubFD, DRM_IOCTL_SIS_AGP_INIT, &agp);
return 1; /* TRUE */
}