mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-04-26 18:20:51 +02:00
path: fix inconsistent use of devnode vs input->path
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
db2274eaad
commit
b5f06f8329
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue