aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-02-16 10:43:36 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-02-16 13:19:49 +1000
commit95099cb0368d76ee139f1442253f26f68d493df9 (patch)
tree9d3a5bcb1332c7b7194e029764de413e5440b2e5
parentRemove superfluous motion history allocation. (diff)
downloadxf86-input-evdev-95099cb0368d76ee139f1442253f26f68d493df9.tar.gz
xf86-input-evdev-95099cb0368d76ee139f1442253f26f68d493df9.tar.bz2
xf86-input-evdev-95099cb0368d76ee139f1442253f26f68d493df9.zip
Log which EVIOCGABS ioctl failed.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/evdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 138f1a0..8f037fb 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -884,13 +884,13 @@ EvdevAddAbsClass(DeviceIntPtr device)
if (ioctl(pInfo->fd,
EVIOCGABS(ABS_X), &absinfo_x) < 0) {
- xf86Msg(X_ERROR, "ioctl EVIOCGABS failed: %s\n", strerror(errno));
+ xf86Msg(X_ERROR, "ioctl EVIOCGABS ABS_X failed: %s\n", strerror(errno));
return !Success;
}
if (ioctl(pInfo->fd,
EVIOCGABS(ABS_Y), &absinfo_y) < 0) {
- xf86Msg(X_ERROR, "ioctl EVIOCGABS failed: %s\n", strerror(errno));
+ xf86Msg(X_ERROR, "ioctl EVIOCGABS ABS_Y failed: %s\n", strerror(errno));
return !Success;
}