diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-08-31 17:26:36 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-08-31 17:26:36 -0600 |
commit | 39c90ce1ce01a0b45451df19c1635240d47aaf29 (patch) | |
tree | 3814c0a5ce1961e161e268801e0529a926100ffb /nuttx/binfmt/binfmt_exepath.c | |
parent | e4f3869daedaf22dd224285cc7f0373e0a5025d2 (diff) | |
download | nuttx-39c90ce1ce01a0b45451df19c1635240d47aaf29.tar.gz nuttx-39c90ce1ce01a0b45451df19c1635240d47aaf29.tar.bz2 nuttx-39c90ce1ce01a0b45451df19c1635240d47aaf29.zip |
Rename kmalloc to kmm_malloc for consistency
Diffstat (limited to 'nuttx/binfmt/binfmt_exepath.c')
-rw-r--r-- | nuttx/binfmt/binfmt_exepath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/binfmt/binfmt_exepath.c b/nuttx/binfmt/binfmt_exepath.c index af69499d1..1e05d55f3 100644 --- a/nuttx/binfmt/binfmt_exepath.c +++ b/nuttx/binfmt/binfmt_exepath.c @@ -124,7 +124,7 @@ EXEPATH_HANDLE exepath_init(void) /* Allocate a container for the PATH variable contents */ - exepath = (FAR struct exepath_s *)kmalloc(SIZEOF_EXEPATH_S(strlen(path) + 1)); + exepath = (FAR struct exepath_s *)kmm_malloc(SIZEOF_EXEPATH_S(strlen(path) + 1)); if (!exepath) { /* Ooops.. we are out of memory */ @@ -230,7 +230,7 @@ FAR char *exepath_next(EXEPATH_HANDLE handle, FAR const char *relpath) } pathlen = strlen(path) + strlen(relpath) + 2; - fullpath = (FAR char *)kmalloc(pathlen); + fullpath = (FAR char *)kmm_malloc(pathlen); if (!fullpath) { /* Failed to allocate memory */ |