diff options
Diffstat (limited to 'sys/dev/drm/gamma_drv.h')
-rw-r--r-- | sys/dev/drm/gamma_drv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm/gamma_drv.h b/sys/dev/drm/gamma_drv.h index 5ee3e37..f6a8978 100644 --- a/sys/dev/drm/gamma_drv.h +++ b/sys/dev/drm/gamma_drv.h @@ -48,7 +48,7 @@ do { \ dev->lock.pid != DRM_OS_CURRENTPID ) { \ DRM_ERROR( "%s called without lock held\n", \ __FUNCTION__ ); \ - DRM_OS_RETURN( EINVAL ); \ + return DRM_OS_ERR(EINVAL); \ } \ } while (0) |