summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-07-21 21:50:25 +1000
committerDave Airlie <airlied@linux.ie>2007-07-21 21:50:25 +1000
commitf68ad6d1abdce7d3c11cc2e90745c0d1e565fe77 (patch)
treefa17af2a71d9f4baebd00abc2f0823fc7aec9629
parent5b38e134163cc375e91424c4688cc9328c6e9082 (diff)
fix drm no-compile due to BSD :-)
-rw-r--r--linux-core/drm_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_drv.c b/linux-core/drm_drv.c
index 85e3ba47..dba0a7ba 100644
--- a/linux-core/drm_drv.c
+++ b/linux-core/drm_drv.c
@@ -599,7 +599,7 @@ int drm_ioctl(struct inode *inode, struct file *filp,
else if ((nr >= DRM_COMMAND_END) || (nr < DRM_COMMAND_BASE))
ioctl = &drm_ioctls[nr];
else {
- errno = -EINVAL;
+ retcode = -EINVAL;
goto err_i1;
}