Skip to content
Commit b803918f authored by Chris Wilson's avatar Chris Wilson
Browse files

drm mode: Return -errno on drmIoctl() failure



The high layers expect to receive a status code on error (on the
pessimistic assumption that the errno value will have been overwritten
by the time the failure is propagated all the way up), so convert
xf86drmMode.c to return -errno on an ioctl error and be consistent with
the rest of the libdrm API.

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent c570b4b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment