drm_context: fix braino

This commit is contained in:
Dave Airlie 2007-07-17 09:59:26 +10:00
parent 875dd1e538
commit bff698d0ed

View file

@ -302,7 +302,7 @@ int drm_resctx(struct inode *inode, struct file *filp,
unsigned int cmd, unsigned long arg)
{
struct drm_ctx_res res;
struct drm_ctx __user *argp = (void __user *)arg;
struct drm_ctx_res __user *argp = (void __user *)arg;
struct drm_ctx ctx;
int i;