aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers/ps2/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/ps2/keyboard.c')
-rw-r--r--kernel/drivers/ps2/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/ps2/keyboard.c b/kernel/drivers/ps2/keyboard.c
index 616c539..be057d7 100644
--- a/kernel/drivers/ps2/keyboard.c
+++ b/kernel/drivers/ps2/keyboard.c
@@ -60,7 +60,7 @@ static res keyboard_read(void *buf, u32 offset, u32 count)
static res keyboard_ready(void)
{
- return !stack_empty(queue);
+ return !stack_empty(queue) ? EOK : -EAGAIN;
}
CLEAR void ps2_keyboard_reset(void)