summaryrefslogtreecommitdiff
path: root/libkms
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2010-01-23 01:38:18 +0000
committerJakob Bornecrantz <wallbraker@gmail.com>2010-01-23 01:39:07 +0000
commitdfa72978609d923ab6dfb76083c56b25e8a049df (patch)
treefbabbe11d7346ac87361539265b14f8ba46e4745 /libkms
parent7b328122981a23f874105f333a5ec14ce887b0a8 (diff)
libkms: Fix return value in vmwgfx_bo_create
Diffstat (limited to 'libkms')
-rw-r--r--libkms/vmwgfx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkms/vmwgfx.c b/libkms/vmwgfx.c
index bcbc240a..0568d6e0 100644
--- a/libkms/vmwgfx.c
+++ b/libkms/vmwgfx.c
@@ -102,7 +102,7 @@ vmwgfx_bo_create(struct kms_driver *kms,
case KMS_BO_TYPE:
break;
default:
- return EINVAL;
+ return -EINVAL;
}
}