diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-07-01 22:38:54 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-07-01 22:51:33 +0100 |
commit | b803918f3f77c62edf22e78cb2095be399753423 (patch) | |
tree | 7b7e5de8b1c71dd8155e78bb9f2fe1da0e37c797 /libkms | |
parent | c570b4b97b8ff71da9294aaf8242ed665f0c09c3 (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')
0 files changed, 0 insertions, 0 deletions