libkms: Fix return value in vmwgfx_bo_create
authorJakob Bornecrantz <jakob@vmware.com>
Sat, 23 Jan 2010 01:38:18 +0000 (01:38 +0000)
committerJakob Bornecrantz <wallbraker@gmail.com>
Sat, 23 Jan 2010 01:39:07 +0000 (01:39 +0000)
libkms/vmwgfx.c

index bcbc240..0568d6e 100644 (file)
@@ -102,7 +102,7 @@ vmwgfx_bo_create(struct kms_driver *kms,
                case KMS_BO_TYPE:
                        break;
                default:
-                       return EINVAL;
+                       return -EINVAL;
                }
        }