summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--evtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/evtest.c b/evtest.c
index ecc653c..9639c22 100644
--- a/evtest.c
+++ b/evtest.c
@@ -790,7 +790,7 @@ static int print_device_info(int fd)
for (type = 0; type < EV_MAX; type++) {
if (test_bit(type, bit[0]) && type != EV_REP) {
printf(" Event type %d (%s)\n", type, events[type] ? events[type] : "?");
- if (!type) continue;
+ if (type == EV_SYN) continue;
ioctl(fd, EVIOCGBIT(type, KEY_MAX), bit[type]);
for (code = 0; code < KEY_MAX; code++)
if (test_bit(code, bit[type])) {