commit 93ef48f
Michael Forney
·
2018-11-10 10:31:14 +0000 UTC
parent 24e8e4e
drm: Fix error message if opening device fails
1 files changed,
+1,
-1
+1,
-1
1@@ -262,7 +262,7 @@ drm_initialize(void)
2 drm.taken_ids = 0;
3 swc.drm->fd = launch_open_device(primary, O_RDWR | O_CLOEXEC);
4 if (swc.drm->fd == -1) {
5- ERROR("Could not open DRM device at %s\n", drm.path);
6+ ERROR("Could not open DRM device at %s\n", primary);
7 goto error0;
8 }
9