mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-20 08:00:09 +01:00
tools - tweak-device: fix wrong error message if the LED doesn't exist
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
269584b1b5
commit
c8a557fc9b
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ set_led(struct libevdev *dev)
|
|||
fprintf(stderr,
|
||||
"Device '%s' doesn't have %s\n",
|
||||
libevdev_get_name(dev),
|
||||
libevdev_event_code_get_name(EV_LED, axis));
|
||||
libevdev_event_code_get_name(EV_LED, led));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue