pipe-loader: use loader_open_device() rather than open()
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 29 Jun 2015 13:01:39 +0000 (14:01 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 13 Jul 2015 18:57:54 +0000 (19:57 +0100)
commitcc32d25454c382a971e81ae584a4296fdf492e70
treea8f24bcbcf7ea53de5a9ce38fdc173a137a95624
parent132031b110a9fd652f3c9d5727502134ef9c22c1
pipe-loader: use loader_open_device() rather than 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/pipe-loader/pipe_loader_drm.c