summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-03-04 15:48:31 +1000
committerDave Airlie <airlied@redhat.com>2011-03-04 15:48:31 +1000
commit3b04c73650b5e9bbcb602fdb8cea0b16ad82d0c0 (patch)
tree5ff278e47ca82f4058ebb3ba0b2e5858c7771548
parentbb994653667986757b4c906b8f144737667f7374 (diff)
libdrm: oops fix get cap return value.
-rw-r--r--xf86drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xf86drm.c b/xf86drm.c
index bc7a97fe..a183eee9 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -820,7 +820,7 @@ int drmGetCap(int fd, uint64_t capability, uint64_t *value)
return ret;
*value = cap.value;
- return cap.value;
+ return 0;
}
/**