intel: ioctl is not defined to return -errno
authorKeith Packard <keithp@keithp.com>
Fri, 17 Oct 2008 04:15:01 +0000 (21:15 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 17 Oct 2008 06:54:19 +0000 (23:54 -0700)
commita59ea02ff839fa0801763a90beb8b232b933c746
treeda7923b18c5def06fd238c75755ed2694c38e177
parent769197c8f16eaf3c0a476a4459e535afd4a939cb
intel: ioctl is not defined to return -errno

Don't count on ioctl returning -errno; use errno directly.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
libdrm/intel/intel_bufmgr_gem.c