diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-12-02 14:12:19 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-12-02 14:12:19 +0000 |
commit | b68d3646f1fdfe012c16741958c7a62136a9b5aa (patch) | |
tree | 25f0ad8411db93fc36efabef39cdc9450041eb0b /src/i830_dri.c | |
parent | 0ff4d42a42b9e537b083343ee7dcc41cb41ae7cf (diff) |
Review use of errno after libdrm call
Since drm may not actually set the appropriate errno after a failure, we
must use the return code instead when determining the cause of failure.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i830_dri.c')
-rw-r--r-- | src/i830_dri.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/i830_dri.c b/src/i830_dri.c index 440748bc..a9eed5bd 100644 --- a/src/i830_dri.c +++ b/src/i830_dri.c @@ -42,7 +42,6 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> -#include <errno.h> #include <unistd.h> #include <fcntl.h> |