summaryrefslogtreecommitdiff
path: root/libkms/linux.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-07-01 22:38:54 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-07-01 22:51:33 +0100
commitb803918f3f77c62edf22e78cb2095be399753423 (patch)
tree7b7e5de8b1c71dd8155e78bb9f2fe1da0e37c797 /libkms/linux.c
parentc570b4b97b8ff71da9294aaf8242ed665f0c09c3 (diff)
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: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'libkms/linux.c')
0 files changed, 0 insertions, 0 deletions