From 3b04c73650b5e9bbcb602fdb8cea0b16ad82d0c0 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 4 Mar 2011 15:48:31 +1000 Subject: [PATCH] libdrm: oops fix get cap return value. --- xf86drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } /**