aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/input/ps2/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/input/ps2/keyboard.c')
-rw-r--r--src/kernel/input/ps2/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/input/ps2/keyboard.c b/src/kernel/input/ps2/keyboard.c
index 2ed825a..60ec3df 100644
--- a/src/kernel/input/ps2/keyboard.c
+++ b/src/kernel/input/ps2/keyboard.c
@@ -12,7 +12,7 @@ u8 scancode;
void keyboard_handler(struct regs *r)
{
scancode = inb(0x60);
- struct keyboard_event *event = umalloc(sizeof(struct keyboard_event));
+ struct keyboard_event *event = malloc(sizeof(struct keyboard_event));
event->scancode = scancode;
event_trigger(MAP_KEYBOARD, (u8 *)event);
}