evdev.c: fix indentation
* evdev.c: Fix indentation of print formats.
This commit is contained in:
parent
10de2eb030
commit
3f23c0c79f
44
evdev.c
44
evdev.c
@ -346,22 +346,22 @@ bit_ioctl(struct tcb *tcp, const unsigned int ev_nr, const long arg)
|
||||
return decode_bitset(tcp, arg, evdev_relative_axes,
|
||||
REL_MAX, "REL_???");
|
||||
case EV_ABS:
|
||||
return decode_bitset(tcp, arg,
|
||||
evdev_abs, ABS_MAX, "ABS_???");
|
||||
return decode_bitset(tcp, arg, evdev_abs,
|
||||
ABS_MAX, "ABS_???");
|
||||
case EV_MSC:
|
||||
return decode_bitset(tcp, arg,
|
||||
evdev_misc, MSC_MAX, "MSC_???");
|
||||
return decode_bitset(tcp, arg, evdev_misc,
|
||||
MSC_MAX, "MSC_???");
|
||||
# ifdef EV_SW
|
||||
case EV_SW:
|
||||
return decode_bitset(tcp, arg,
|
||||
evdev_switch, SW_MAX, "SW_???");
|
||||
return decode_bitset(tcp, arg, evdev_switch,
|
||||
SW_MAX, "SW_???");
|
||||
# endif
|
||||
case EV_LED:
|
||||
return decode_bitset(tcp, arg,
|
||||
evdev_leds, LED_MAX, "LED_???");
|
||||
return decode_bitset(tcp, arg, evdev_leds,
|
||||
LED_MAX, "LED_???");
|
||||
case EV_SND:
|
||||
return decode_bitset(tcp, arg,
|
||||
evdev_snd, SND_MAX, "SND_???");
|
||||
return decode_bitset(tcp, arg, evdev_snd,
|
||||
SND_MAX, "SND_???");
|
||||
case EV_REP:
|
||||
return decode_bitset(tcp, arg, evdev_autorepeat,
|
||||
REP_MAX, "REP_???");
|
||||
@ -390,13 +390,13 @@ evdev_read_ioctl(struct tcb *tcp, const unsigned int code, const long arg)
|
||||
return 1;
|
||||
case EVIOCGEFFECTS:
|
||||
tprints(", ");
|
||||
printnum_int(tcp, arg, "%" PRIu32);
|
||||
printnum_int(tcp, arg, "%u");
|
||||
return 1;
|
||||
case EVIOCGID:
|
||||
return getid_ioctl(tcp, arg);
|
||||
# ifdef EVIOCGREP
|
||||
case EVIOCGREP:
|
||||
return repeat_ioctl(tcp, arg);;
|
||||
return repeat_ioctl(tcp, arg);
|
||||
# endif
|
||||
case EVIOCGKEYCODE:
|
||||
return keycode_ioctl(tcp, arg);
|
||||
@ -423,23 +423,23 @@ evdev_read_ioctl(struct tcb *tcp, const unsigned int code, const long arg)
|
||||
return 1;
|
||||
# ifdef EVIOCGPROP
|
||||
case _IOC_NR(EVIOCGPROP(0)):
|
||||
return decode_bitset(tcp, arg,
|
||||
evdev_prop, INPUT_PROP_MAX, "PROP_???");
|
||||
return decode_bitset(tcp, arg, evdev_prop,
|
||||
INPUT_PROP_MAX, "PROP_???");
|
||||
# endif
|
||||
case _IOC_NR(EVIOCGSND(0)):
|
||||
return decode_bitset(tcp, arg,
|
||||
evdev_snd, SND_MAX, "SND_???");
|
||||
return decode_bitset(tcp, arg, evdev_snd,
|
||||
SND_MAX, "SND_???");
|
||||
# ifdef EVIOCGSW
|
||||
case _IOC_NR(EVIOCGSW(0)):
|
||||
return decode_bitset(tcp, arg,
|
||||
evdev_switch, SW_MAX, "SW_???");
|
||||
return decode_bitset(tcp, arg, evdev_switch,
|
||||
SW_MAX, "SW_???");
|
||||
# endif
|
||||
case _IOC_NR(EVIOCGKEY(0)):
|
||||
return decode_bitset(tcp, arg,
|
||||
evdev_keycode, KEY_MAX, "KEY_???");
|
||||
return decode_bitset(tcp, arg, evdev_keycode,
|
||||
KEY_MAX, "KEY_???");
|
||||
case _IOC_NR(EVIOCGLED(0)):
|
||||
return decode_bitset(tcp, arg,
|
||||
evdev_leds, LED_MAX, "LED_???");
|
||||
return decode_bitset(tcp, arg, evdev_leds,
|
||||
LED_MAX, "LED_???");
|
||||
}
|
||||
|
||||
/* multi-number fixed-length commands */
|
||||
|
Loading…
x
Reference in New Issue
Block a user