aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'libkms/api.c')
-rw-r--r--libkms/api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkms/api.c b/libkms/api.c
index 4a05f3d7..5befaa0f 100644
--- a/libkms/api.c
+++ b/libkms/api.c
@@ -80,7 +80,7 @@ int kms_bo_create(struct kms_driver *kms, const unsigned *attr, struct kms_bo **
80 type = value; 80 type = value;
81 break; 81 break;
82 default: 82 default:
83 return EINVAL; 83 return -EINVAL;
84 } 84 }
85 } 85 }
86 86