summaryrefslogtreecommitdiff
path: root/src/lnx_kbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lnx_kbd.c')
-rw-r--r--src/lnx_kbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lnx_kbd.c b/src/lnx_kbd.c
index e69e1b6..811a7d7 100644
--- a/src/lnx_kbd.c
+++ b/src/lnx_kbd.c
@@ -70,7 +70,7 @@ SetKbdLeds(InputInfoPtr pInfo, int leds)
static int
GetKbdLeds(InputInfoPtr pInfo)
{
- char real_leds;
+ char real_leds = 0;
int leds = 0;
ioctl(pInfo->fd, KDGETLED, &real_leds);