Skip to content
Commit f52e2b20 authored by Emmanuel Vadot's avatar Emmanuel Vadot
Browse files

libdrm: drmGetMinorNameFromFd: Fix FreeBSD variant



Fix the FreeBSD variant by getting the node type represented by fd to deduce
the target minor name.
We then return the full /dev/dri/<minorname><id> version.

Fix: #41
Fixes: 6818a50b
Reviewed-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: default avatarEmmanuel Vadot <manu@FreeBSD.org>
parent 5ec177b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment