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:
db2274e
)
path: fix inconsistent use of devnode vs input->path
author
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 16 Jan 2014 01:25:26 +0000
(11:25 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Fri, 31 Jan 2014 05:00:17 +0000
(15:00 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/path.c
patch
|
blob
|
history
diff --git
a/src/path.c
b/src/path.c
index 2b8f53049f25b7c310821da7c9e5d3f1e7244b55..2893ad4f27c584a8dac6d889f899962ae1532723 100644
(file)
--- a/
src/path.c
+++ b/
src/path.c
@@
-128,7
+128,7
@@
path_input_enable(struct libinput *libinput)
if (input->device)
return 0;
- fd = open_restricted(libinput,
input->path
, O_RDWR|O_NONBLOCK);
+ fd = open_restricted(libinput,
devnode
, O_RDWR|O_NONBLOCK);
if (fd < 0) {
log_info("opening input device '%s' failed (%s).\n",
devnode, strerror(-fd));