aboutsummaryrefslogtreecommitdiff
path: root/kernel/features/dev.c
diff options
context:
space:
mode:
authorMarvin Borner2021-07-03 22:03:09 +0200
committerMarvin Borner2021-07-03 22:03:09 +0200
commit794d10a744e70ab5f7acc29e105dc437403ca341 (patch)
treef75bcb410b18f59d365a70747c8f7c6b90291fe8 /kernel/features/dev.c
parenta81a011d738a0cbd36e0d4f8e17691424d6bb1a0 (diff)
Very minor fixes
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);