ioctl.c: fix typo in decoding of EVIOCSABS's parameter

* ioctl.c (evdev_decode_number): Fix typo in printxval default value.
This commit is contained in:
Дмитрий Левин 2016-05-27 01:11:40 +00:00
parent 826b7978ec
commit 1f1559e6a9

View File

@ -91,7 +91,7 @@ evdev_decode_number(const unsigned int code)
if (_IOC_DIR(code) == _IOC_WRITE) {
if (nr >= 0xc0 && nr <= 0xc0 + 0x3f) {
tprints("EVIOCSABS(");
printxval(evdev_abs, nr - 0xc0, "EV_???");
printxval(evdev_abs, nr - 0xc0, "ABS_???");
tprints(")");
return 1;
}