commit | aa21c07f2ee04bf7d6d6c8942a8c71fbfffc4b90 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Sat May 28 00:49:17 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Sat May 28 00:56:47 2016 +0000 |
tree | 2a704779cda27f90902dad665406f4ab7fd9a5d8 | |
parent | 47be9f259758fa65eff496a17ce879f63b208163 [diff] |
evdev.c: fix printing of unrecognized event type passed to EVIOCGBIT * evdev.c (bit_ioctl): If event type is not unrecognized, print the argument as an address.
diff --git a/evdev.c b/evdev.c index 24af1ca..9a6c631 100644 --- a/evdev.c +++ b/evdev.c
@@ -376,7 +376,9 @@ return decode_bitset(tcp, arg, evdev_ff_status, FF_STATUS_MAX, "FF_STATUS_???"); default: - return 0; + tprints(", "); + printaddr(arg); + return 1; } }