summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
}