aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/slibc-alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slibc-alloc.c b/src/slibc-alloc.c
index 9380d24..ac81530 100644
--- a/src/slibc-alloc.c
+++ b/src/slibc-alloc.c
@@ -289,7 +289,7 @@ void* naive_realloc(void* ptr, size_t size)
void* naive_extalloc(void* ptr, size_t size)
{
/* TODO implement naive_extalloc */
- return NULL;
+ return errno = 0, NULL;
(void) ptr, (void) size;
}