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:
parent
826b7978ec
commit
1f1559e6a9
2
ioctl.c
2
ioctl.c
@ -91,7 +91,7 @@ evdev_decode_number(const unsigned int code)
|
|||||||
if (_IOC_DIR(code) == _IOC_WRITE) {
|
if (_IOC_DIR(code) == _IOC_WRITE) {
|
||||||
if (nr >= 0xc0 && nr <= 0xc0 + 0x3f) {
|
if (nr >= 0xc0 && nr <= 0xc0 + 0x3f) {
|
||||||
tprints("EVIOCSABS(");
|
tprints("EVIOCSABS(");
|
||||||
printxval(evdev_abs, nr - 0xc0, "EV_???");
|
printxval(evdev_abs, nr - 0xc0, "ABS_???");
|
||||||
tprints(")");
|
tprints(")");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user