malloc() fix #2

This commit is contained in:
Julian Barathieu 2019-05-15 16:39:36 +02:00
parent 945c215b72
commit 602b436113
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ void *malloc(size_t n)
#ifndef _KALEID_KERNEL #ifndef _KALEID_KERNEL
rc = KalAllocMemory(&ptr, n); rc = KalAllocMemory(&ptr, n);
#else #else
rc = KalAllocMemoryEx(&ptr, n, M_ZEROED, 0) rc = KalAllocMemoryEx(&ptr, n, M_ZEROED, 0);
#endif #endif
if (rc > 0) seterrno(rc); if (rc > 0) seterrno(rc);