mirror of
https://github.com/apache/nuttx.git
synced 2025-12-16 17:56:38 +08:00
Rename kmalloc to kmm_malloc for consistency
This commit is contained in:
@@ -301,7 +301,7 @@ static int cpuload_dup(FAR const struct file *oldp, FAR struct file *newp)
|
||||
|
||||
/* Allocate a new container to hold the task and attribute selection */
|
||||
|
||||
newattr = (FAR struct cpuload_file_s *)kmalloc(sizeof(struct cpuload_file_s));
|
||||
newattr = (FAR struct cpuload_file_s *)kmm_malloc(sizeof(struct cpuload_file_s));
|
||||
if (!newattr)
|
||||
{
|
||||
fdbg("ERROR: Failed to allocate file attributes\n");
|
||||
|
||||
Reference in New Issue
Block a user