auxiliary/vl: use loader_open_device() over open()
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 29 Jun 2015 13:03:22 +0000 (14:03 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 13 Jul 2015 18:57:59 +0000 (19:57 +0100)
commitdd50ccf0f4dcba2fd586d5b5c58750259e29c357
treec7c8baf42bb5799ae34c8185eb580ebe430c436e
parentcc32d25454c382a971e81ae584a4296fdf492e70
auxiliary/vl: use loader_open_device() over open()

The former handles O_CLOEXEC (and the lack of it) appropriately.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/auxiliary/Makefile.am
src/gallium/auxiliary/vl/vl_winsys_dri.c