mirror of
https://gitlab.os-k.eu/os-k-team/os-k.git
synced 2023-08-25 14:03:10 +02:00
malloc() fix #2
This commit is contained in:
parent
945c215b72
commit
602b436113
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user