diff options
author | Julien Cristau <jcristau@debian.org> | 2008-07-30 10:40:47 +0200 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2008-08-04 09:25:14 +0930 |
commit | 906a5d6add75d3bf3077d0542352534256b734d4 (patch) | |
tree | 5ff028075591d91c6c3d3ccd3a96687fab2b5680 /src/evdev.c | |
parent | 5152d616cab6912a45e09c37c0330064d2f412f2 (diff) |
Print the device name when we get a read error
(cherry picked from commit 5c074af5a9abba138023e3bc6954d1062f7c36dd)
Diffstat (limited to 'src/evdev.c')
-rw-r--r-- | src/evdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.c b/src/evdev.c index 0cd016a..45b0e5d 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -162,7 +162,7 @@ EvdevReadInput(InputInfoPtr pInfo) if (len != sizeof ev) { /* The kernel promises that we always only read a complete * event, so len != sizeof ev is an error. */ - xf86Msg(X_ERROR, "Read error: %s\n", strerror(errno)); + xf86Msg(X_ERROR, "%s: Read error: %s\n", pInfo->name, strerror(errno)); break; } |