swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit 785f2953d8013d20f31d87d83e6a5c532fba5ef7
parent ad198dd55b1c9faa5ac4e28548b3c99aec5c7218
Author: Michael Forney <mforney@mforney.org>
Date:   Sun, 30 Aug 2015 13:22:06 -0700

Add better error message when render node is not available

Fixes #27.

Diffstat:
Mlibswc/drm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswc/drm.c b/libswc/drm.c @@ -278,7 +278,7 @@ drm_initialize(void) } if (stat(drm.path, &render) != 0) { - ERROR("Could not stat render node for primary DRM device: %s\n", strerror(errno)); + ERROR("stat %s failed (does your kernel support render nodes?): %s\n", drm.path, strerror(errno)); goto error1; }