summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-11-20 14:26:10 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-11-20 15:38:44 +1000
commit67ac4501a795bf28a421907a8eabc6b56dd8114a (patch)
treee953183abaca395ceeffc89d7ee3565f23b5203c
parent84a1a3e08189f7190bcbf47c07d1e9a0c5f1a184 (diff)
downloadlibinput-67ac4501a795bf28a421907a8eabc6b56dd8114a.tar.gz
touchpad: print the device name on error
A little bit easier to recognize. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/evdev-mt-touchpad-buttons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/evdev-mt-touchpad-buttons.c b/src/evdev-mt-touchpad-buttons.c
index 3dcc8b0b..cfd6588d 100644
--- a/src/evdev-mt-touchpad-buttons.c
+++ b/src/evdev-mt-touchpad-buttons.c
@@ -565,12 +565,12 @@ tp_init_buttons(struct tp_dispatch *tp,
if (tp->buttons.is_clickpad)
log_bug_kernel(libinput,
"%s: clickpad advertising right button\n",
- device->sysname);
+ device->devname);
} else {
if (!tp->buttons.is_clickpad)
log_bug_kernel(libinput,
"%s: non clickpad without right button?\n",
- device->sysname);
+ device->devname);
}
absinfo_x = device->abs.absinfo_x;