From 602b4361130accb411c794912e19aefd1f745333 Mon Sep 17 00:00:00 2001 From: Julian Barathieu Date: Wed, 15 May 2019 16:39:36 +0200 Subject: [PATCH] malloc() fix #2 --- kaleid/libc/mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kaleid/libc/mem.c b/kaleid/libc/mem.c index 5fe84db..7107bd0 100644 --- a/kaleid/libc/mem.c +++ b/kaleid/libc/mem.c @@ -39,7 +39,7 @@ void *malloc(size_t n) #ifndef _KALEID_KERNEL rc = KalAllocMemory(&ptr, n); #else - rc = KalAllocMemoryEx(&ptr, n, M_ZEROED, 0) + rc = KalAllocMemoryEx(&ptr, n, M_ZEROED, 0); #endif if (rc > 0) seterrno(rc);