summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-05-31 14:48:33 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-06-03 14:43:04 +1000
commitf94898928dfaf8df648bc3eea7d304826b7ac1b8 (patch)
treee89597462f8c9e4ca4c92085c4c8473cacd8a612 /dix
parent8ef0974874f322e3ce2f3e6be4ab3c7e73a7b380 (diff)
dix: fix an error message.
event type, not device type. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix')
-rw-r--r--dix/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/events.c b/dix/events.c
index b60c29952..1aadd57ee 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -432,7 +432,7 @@ GetEventFilter(DeviceIntPtr dev, xEvent *event)
return filters[dev ? dev->id : 0][event->u.u.type];
else if ((evtype = xi2_get_type(event)))
return (1 << (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;
}