summaryrefslogtreecommitdiff
path: root/nuttx/fs/procfs/fs_procfscpuload.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-08-31 17:34:44 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-08-31 17:34:44 -0600
commitf8d20db23e41f2cb8f1e99f8f4f7965c215c9677 (patch)
tree45c7a57c201427409d0f4b78c803d6e240f79f43 /nuttx/fs/procfs/fs_procfscpuload.c
parent306de6c62392400107ea8a9d6e3aa13dd202b742 (diff)
downloadpx4-nuttx-f8d20db23e41f2cb8f1e99f8f4f7965c215c9677.tar.gz
px4-nuttx-f8d20db23e41f2cb8f1e99f8f4f7965c215c9677.tar.bz2
px4-nuttx-f8d20db23e41f2cb8f1e99f8f4f7965c215c9677.zip
Reanem kzalloc to kmm_zalloc for consistency
Diffstat (limited to 'nuttx/fs/procfs/fs_procfscpuload.c')
-rw-r--r--nuttx/fs/procfs/fs_procfscpuload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/fs/procfs/fs_procfscpuload.c b/nuttx/fs/procfs/fs_procfscpuload.c
index 9d01bcad3..8641f3933 100644
--- a/nuttx/fs/procfs/fs_procfscpuload.c
+++ b/nuttx/fs/procfs/fs_procfscpuload.c
@@ -166,7 +166,7 @@ static int cpuload_open(FAR struct file *filep, FAR const char *relpath,
/* Allocate a container to hold the file attributes */
- attr = (FAR struct cpuload_file_s *)kzalloc(sizeof(struct cpuload_file_s));
+ attr = (FAR struct cpuload_file_s *)kmm_zalloc(sizeof(struct cpuload_file_s));
if (!attr)
{
fdbg("ERROR: Failed to allocate file attributes\n");