diff --git a/common/drm.c b/common/drm.c index 9591dc0..e10d3ba 100644 --- a/common/drm.c +++ b/common/drm.c @@ -36,7 +36,7 @@ int dev_is_drm(dev_t device) { } #elif defined(__FreeBSD__) int path_is_drm(const char *path) { - static const char prefix[] = "/dev/drm/"; + static const char prefix[] = "/dev/dri/"; static const int prefixlen = STRLEN(prefix); return strncmp(prefix, path, prefixlen) == 0; }