summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-07-21 16:11:39 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-08-05 08:58:13 +1000
commit92be97b04537db7c286a88790063ad5a2869de02 (patch)
treee15423fd7b1df4c19c8fd97e6a3b46a43249051f
parent67c7ba9bf3246aadf472cfddff62e745f00dde19 (diff)
evdev: prefix "tablet unknown to libwacom" error with the device name
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 45a574a7859cb83e589c6f2d33d81a3f666ba60d)
-rw-r--r--src/evdev.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 1a0759b3..c3ca64c7 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -3038,7 +3038,9 @@ evdev_tablet_has_left_handed(struct evdev_device *device)
if (libwacom_is_reversible(d))
has_left_handed = true;
} else if (libwacom_error_get_code(error) == WERROR_UNKNOWN_MODEL) {
- log_info(libinput, "Tablet unknown to libwacom\n");
+ log_info(libinput,
+ "%s: tablet unknown to libwacom\n",
+ device->devname);
} else {
log_error(libinput,
"libwacom error: %s\n",