Peter Hutterer d0c9619675 Init LEDs to zero before querying the value
This way if the ioctl fails we don't set any unintended LEDs, but really this
patch is more to silence valgrind:

==7129== Conditional jump or move depends on uninitialised value(s)
==7129==    at 0x8DF99A1: GetKbdLeds (lnx_kbd.c:79)
==7129==    by 0x8DF8853: InitKBD (kbd.c:291)

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-08 14:51:28 +10:00
2013-11-01 09:45:21 +10:00
2010-10-30 09:13:47 -07:00

kbd - Keyboard input driver for the Xorg X server

Please submit bugs & patches to the Xorg bugzilla:

        https://bugs.freedesktop.org/enter_bug.cgi?product=xorg

All questions regarding this software should be directed at the
Xorg mailing list:

        http://lists.freedesktop.org/mailman/listinfo/xorg

The master development code repository can be found at:

        git://anongit.freedesktop.org/git/xorg/driver/xf86-input-keyboard

        http://cgit.freedesktop.org/xorg/driver/xf86-input-keyboard

For more information on the git code manager, see:

        http://wiki.x.org/wiki/GitPage
Description
No description provided
Readme 1 MiB
Languages
C 95.8%
M4 2%
Makefile 2%
Shell 0.2%