mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Reanem kzalloc to kmm_zalloc for consistency
This commit is contained in:
@@ -156,7 +156,7 @@ int exec_module(FAR const struct binary_s *binp)
|
||||
|
||||
/* Allocate a TCB for the new task. */
|
||||
|
||||
tcb = (FAR struct task_tcb_s*)kzalloc(sizeof(struct task_tcb_s));
|
||||
tcb = (FAR struct task_tcb_s*)kmm_zalloc(sizeof(struct task_tcb_s));
|
||||
if (!tcb)
|
||||
{
|
||||
err = ENOMEM;
|
||||
|
||||
Reference in New Issue
Block a user