commit 93ef48fe3439d359ac69963d2db33a8cc5463555
parent 24e8e4ef408c5432dbc5cb2cb9ef1b2582498072
Author: Michael Forney <mforney@mforney.org>
Date: Sat, 10 Nov 2018 02:31:14 -0800
drm: Fix error message if opening device fails
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libswc/drm.c b/libswc/drm.c
@@ -262,7 +262,7 @@ drm_initialize(void)
drm.taken_ids = 0;
swc.drm->fd = launch_open_device(primary, O_RDWR | O_CLOEXEC);
if (swc.drm->fd == -1) {
- ERROR("Could not open DRM device at %s\n", drm.path);
+ ERROR("Could not open DRM device at %s\n", primary);
goto error0;
}