diff options
author | Dave Airlie <airlied@linux.ie> | 2007-07-21 21:50:25 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-07-21 21:50:25 +1000 |
commit | f68ad6d1abdce7d3c11cc2e90745c0d1e565fe77 (patch) | |
tree | fa17af2a71d9f4baebd00abc2f0823fc7aec9629 | |
parent | 5b38e134163cc375e91424c4688cc9328c6e9082 (diff) |
fix drm no-compile due to BSD :-)
-rw-r--r-- | linux-core/drm_drv.c | 2 |
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; } |