projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b59d9c5
)
udev: print errno if we can't open a device
author
Peter Hutterer
<peter.hutterer@who-t.net>
Fri, 13 Dec 2013 01:05:07 +0000
(11:05 +1000)
committer
Jonas Ådahl
<jadahl@gmail.com>
Sat, 21 Dec 2013 11:10:03 +0000
(12:10 +0100)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/udev-seat.c
patch
|
blob
|
history
diff --git
a/src/udev-seat.c
b/src/udev-seat.c
index
29d4fa0
..
b355554
100644
(file)
--- a/
src/udev-seat.c
+++ b/
src/udev-seat.c
@@
-76,7
+76,7
@@
device_added(struct udev_device *udev_device, struct udev_input *input)
* read. mtdev_get() also expects this. */
fd = open_restricted(libinput, devnode, 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 0;
}