Signed-off-by: Peter Hutterer <[email protected]>
---
src/path.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/path.c b/src/path.c
index 2553005..2b8f530 100644
--- a/src/path.c
+++ b/src/path.c
@@ -130,7 +130,8 @@ path_input_enable(struct libinput *libinput)
fd = open_restricted(libinput, input->path, O_RDWR|O_NONBLOCK);
if (fd < 0) {
- log_info("opening input device '%s' failed.\n", devnode);
+ log_info("opening input device '%s' failed (%s).\n",
+ devnode, strerror(-fd));
return -1;
}
--
1.8.4.2
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel