lib: Close non intel fds in drm_get_card()
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 24 Oct 2013 14:04:26 +0000 (15:04 +0100)
committerDamien Lespiau <damien.lespiau@intel.com>
Mon, 28 Oct 2013 11:00:07 +0000 (11:00 +0000)
commit8329acb752721ad93dab70624b136f1befd4be3f
tree9d8f3ea189009db30b2dd61451a776028be6df25
parent949ce5b8a1054fcc1c375ee4b801c291483e2005
lib: Close non intel fds in drm_get_card()

When going through card%u devices, close the ones that we were able to
open but weren't intel devices.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
lib/drmtest.c