mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-27 04:40:12 +01:00
xf86drm: warn on missing drmGetMinorNameForFD implementation
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
291b2bb92c
commit
8415a00a3f
1 changed files with 2 additions and 0 deletions
|
|
@ -2822,6 +2822,8 @@ static char *drmGetMinorNameForFD(int fd, int type)
|
|||
|
||||
out_close_dir:
|
||||
closedir(sysdir);
|
||||
#else
|
||||
#warning "Missing implementation of drmGetMinorNameForFD"
|
||||
#endif
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue