aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Bornecrantz2010-01-22 19:38:18 -0600
committerJakob Bornecrantz2010-01-22 19:39:07 -0600
commitdfa72978609d923ab6dfb76083c56b25e8a049df (patch)
treefbabbe11d7346ac87361539265b14f8ba46e4745
parent7b328122981a23f874105f333a5ec14ce887b0a8 (diff)
downloadexternal-libdrm-dfa72978609d923ab6dfb76083c56b25e8a049df.tar.gz
external-libdrm-dfa72978609d923ab6dfb76083c56b25e8a049df.tar.xz
external-libdrm-dfa72978609d923ab6dfb76083c56b25e8a049df.zip
libkms: Fix return value in vmwgfx_bo_create
-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,
102 case KMS_BO_TYPE: 102 case KMS_BO_TYPE:
103 break; 103 break;
104 default: 104 default:
105 return EINVAL; 105 return -EINVAL;
106 } 106 }
107 } 107 }
108 108