else
flag &= ~blinker->TxLed;
- if (ioctl(0, KDSETLED, &flag) == -1)
+ if (ioctl(0, KDSETLED, flag) == -1)
tlog(TL_WARN,"unable to set NumLock led: %s",
strerror(errno));
memset(&blinker, 0, sizeof(blinker));
- if (ioctl(0, KDGKBINFO, &info) == 0)
- {
+ if (ioctl(0, KDGKBINFO, &info) == 0) {
blinker.TxLed = LED_CAP;
blinker.RxLed = LED_NUM;
blinker.exec = execKbd;