libdrm: oops fix get cap return value.

This commit is contained in:
Dave Airlie 2011-03-04 15:48:31 +10:00
parent bb99465366
commit 3b04c73650

View file

@ -820,7 +820,7 @@ int drmGetCap(int fd, uint64_t capability, uint64_t *value)
return ret;
*value = cap.value;
return cap.value;
return 0;
}
/**