summaryrefslogtreecommitdiff
path: root/src/user/lib/malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib/malloc.c')
-rw-r--r--src/user/lib/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/lib/malloc.c b/src/user/lib/malloc.c
index ea65d74..b732df9 100644
--- a/src/user/lib/malloc.c
+++ b/src/user/lib/malloc.c
@@ -26,7 +26,7 @@ void *malloc(size_t size) {
}
if (!iter) iter = expand(size);
- if (!iter) return NULL;
+ if (!iter) return NULL; // TODO set errno
iter->used = true;
// TODO truncate and split