From 37fe388aaeb3f7ebf95f0801c443514687df68e6 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 26 Jun 2002 20:02:33 +0000 Subject: [PATCH] Error code that got missed. --- bsd-core/drm_context.c | 2 +- bsd/drm_context.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bsd-core/drm_context.c b/bsd-core/drm_context.c index e3335ba9..41624929 100644 --- a/bsd-core/drm_context.c +++ b/bsd-core/drm_context.c @@ -189,7 +189,7 @@ int DRM(setsareactx)( DRM_OS_IOCTL ) bad: DRM_OS_UNLOCK; - return -EINVAL; + return DRM_OS_ERR(EINVAL); found: map = list->map; diff --git a/bsd/drm_context.h b/bsd/drm_context.h index e3335ba9..41624929 100644 --- a/bsd/drm_context.h +++ b/bsd/drm_context.h @@ -189,7 +189,7 @@ int DRM(setsareactx)( DRM_OS_IOCTL ) bad: DRM_OS_UNLOCK; - return -EINVAL; + return DRM_OS_ERR(EINVAL); found: map = list->map;