diff options
author | dzwdz | 2024-03-13 22:33:38 +0100 |
---|---|---|
committer | dzwdz | 2024-03-13 22:46:47 +0100 |
commit | 72f55421fb61b750512f324d284b30e3e67e36e0 (patch) | |
tree | 8933dc013580a2440730644807a03606c6805547 /src/kernel/handle.c | |
parent | e47412d940db4e9be2d05608272e30f560a275d0 (diff) |
kernel/malloc: slight rework (it's still bad), store more metadata
Diffstat (limited to 'src/kernel/handle.c')
-rw-r--r-- | src/kernel/handle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/handle.c b/src/kernel/handle.c index 51a95be..ca4c4c4 100644 --- a/src/kernel/handle.c +++ b/src/kernel/handle.c @@ -7,7 +7,7 @@ #include <shared/mem.h> Handle *handle_init(enum handle_type type) { - Handle *h = kzalloc(sizeof *h); + Handle *h = kzalloc(sizeof *h, "handle"); h->type = type; h->refcount = 1; return h; |