summaryrefslogtreecommitdiff
path: root/src
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 /src
parentc58bae0b77b9e39ab341af994648ca22867271a2 (diff)
Log which EVIOCGABS ioctl failed.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-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;
}