summaryrefslogtreecommitdiffstats
path: root/sys/dev/adb/adb_kbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/adb/adb_kbd.c')
-rw-r--r--sys/dev/adb/adb_kbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/adb/adb_kbd.c b/sys/dev/adb/adb_kbd.c
index 6fca5ff..76d4e88 100644
--- a/sys/dev/adb/adb_kbd.c
+++ b/sys/dev/adb/adb_kbd.c
@@ -621,7 +621,7 @@ akbd_read_char(keyboard_t *kbd, int wait)
if (!sc->buffers) {
mtx_unlock(&sc->sc_mutex);
- return (0);
+ return (NOKEY);
}
adb_code = sc->buffer[0];
OpenPOWER on IntegriCloud