summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/ectool_keyscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ectool_keyscan.c b/util/ectool_keyscan.c
index 46ba221f6e..49745aa2c6 100644
--- a/util/ectool_keyscan.c
+++ b/util/ectool_keyscan.c
@@ -137,7 +137,7 @@ static const unsigned char kbd_plain_xlate[] = {
'8', '9', '-', '4', '5', '6', '+', '1', /* 0x40 - 0x4f */
'2', '3', '0', '.', 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x50 - 0x5F */
- '\r', 0xff, 0xff
+ '\r', 0xff, 0xff, '\0'
};
/**