summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-05-31 14:48:33 +1000
committerJeremy Huddleston <jeremyhu@apple.com>2011-06-11 10:07:28 -0700
commit9551f5041915fa00ca243a279efb55de2ff11a00 (patch)
treefbe64de932bd8fb009ad2981050b448798066a6a
parent75f75d12cf69ba9b7f14ddf04338ad2df7315550 (diff)
dix: fix an error message.
event type, not device type. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit f94898928dfaf8df648bc3eea7d304826b7ac1b8) Conflicts: dix/events.c
-rw-r--r--dix/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/events.c b/dix/events.c
index f0ea57626..eefcdef0a 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -410,7 +410,7 @@ GetEventFilter(DeviceIntPtr dev, xEvent *event)
return filters[dev ? dev->id : 0][event->u.u.type];
else if (XI2_EVENT(event))
return (1 << (((xXIDeviceEvent*)event)->evtype % 8));
- ErrorF("[dix] Unknown device type %d. No filter\n", event->u.u.type);
+ ErrorF("[dix] Unknown event type %d. No filter\n", event->u.u.type);
return 0;
}