diff options
Diffstat (limited to 'kernel/features/dev.c')
-rw-r--r-- | kernel/features/dev.c | 2 |
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); |