aboutsummaryrefslogtreecommitdiff
path: root/kernel/features/dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/features/dev.c')
-rw-r--r--kernel/features/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/features/dev.c b/kernel/features/dev.c
index c190a8a..24d00ad 100644
--- a/kernel/features/dev.c
+++ b/kernel/features/dev.c
@@ -114,7 +114,7 @@ res dev_poll(u32 *devs)
}
}
- struct dev_listener *listener = zalloc(sizeof(*listener));
+ struct dev_listener *listener = malloc(sizeof(*listener));
listener->group = group;
listener->proc = proc_current();
list_add(dev_listeners[type], listener);