summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-03-08 23:01:32 +0000
committerDave Airlie <airlied@linux.ie>2006-03-08 23:01:32 +0000
commitea40d3dd41cb3c562caf404fead9fdaa0b97565c (patch)
treed1c7d87b85a95816b65e3324ea4cb968786ea8a3 /shared-core
parentef835973b2f26410f9c9d3abed3b3f4828a716c1 (diff)
Fix bug I reintroduced
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/radeon_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/radeon_state.c b/shared-core/radeon_state.c
index 5280b51f..45b1ecc4 100644
--- a/shared-core/radeon_state.c
+++ b/shared-core/radeon_state.c
@@ -1996,7 +1996,7 @@ static int radeon_surface_free(DRM_IOCTL_ARGS)
return DRM_ERR(EINVAL);
}
- DRM_COPY_FROM_USER_IOCTL(memfree, (drm_radeon_mem_free_t __user *) data,
+ DRM_COPY_FROM_USER_IOCTL(memfree, (drm_radeon_surface_free_t __user *) data,
sizeof(memfree));
if (free_surface(filp, dev_priv, memfree.address))