summaryrefslogtreecommitdiff
path: root/nuttx/fs/fat/fs_mkfatfs.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-08-31 17:26:36 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-08-31 17:26:36 -0600
commit39c90ce1ce01a0b45451df19c1635240d47aaf29 (patch)
tree3814c0a5ce1961e161e268801e0529a926100ffb /nuttx/fs/fat/fs_mkfatfs.c
parente4f3869daedaf22dd224285cc7f0373e0a5025d2 (diff)
downloadpx4-nuttx-39c90ce1ce01a0b45451df19c1635240d47aaf29.tar.gz
px4-nuttx-39c90ce1ce01a0b45451df19c1635240d47aaf29.tar.bz2
px4-nuttx-39c90ce1ce01a0b45451df19c1635240d47aaf29.zip
Rename kmalloc to kmm_malloc for consistency
Diffstat (limited to 'nuttx/fs/fat/fs_mkfatfs.c')
-rw-r--r--nuttx/fs/fat/fs_mkfatfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/fs/fat/fs_mkfatfs.c b/nuttx/fs/fat/fs_mkfatfs.c
index 4445c5a4c..10976abc1 100644
--- a/nuttx/fs/fat/fs_mkfatfs.c
+++ b/nuttx/fs/fat/fs_mkfatfs.c
@@ -298,7 +298,7 @@ int mkfatfs(FAR const char *pathname, FAR struct fat_format_s *fmt)
/* Allocate a buffer that will be working sector memory */
- var.fv_sect = (uint8_t*)kmalloc(var.fv_sectorsize);
+ var.fv_sect = (uint8_t*)kmm_malloc(var.fv_sectorsize);
if (!var.fv_sect)
{
fdbg("ERROR: Failed to allocate working buffers\n");