diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-04 07:01:22 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-04 07:01:22 -0600 |
commit | 972c183c21e5554ee61caeffe2fab56305fc3f70 (patch) | |
tree | 6a6ab814832179012b34ac8aa03e037729b2ebf3 | |
parent | 98078f4e5aa8cbb90945e2a5bca42f48a0e62d5e (diff) | |
download | px4-nuttx-972c183c21e5554ee61caeffe2fab56305fc3f70.tar.gz px4-nuttx-972c183c21e5554ee61caeffe2fab56305fc3f70.tar.bz2 px4-nuttx-972c183c21e5554ee61caeffe2fab56305fc3f70.zip |
Fix error in new macro definition that causes compile problem when not using a kernel-mode build
-rw-r--r-- | nuttx/include/nuttx/kmalloc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/include/nuttx/kmalloc.h b/nuttx/include/nuttx/kmalloc.h index 33b3b8910..44ebf9746 100644 --- a/nuttx/include/nuttx/kmalloc.h +++ b/nuttx/include/nuttx/kmalloc.h @@ -186,9 +186,9 @@ void group_free(FAR struct task_group_s *group, FAR void *mem); * in privileges. */ -# define group_malloc(g,n) kumm_malloc(size) -# define group_zalloc(g,n) kumm_zalloc(size) -# define group_free(g,m) kumm_free(size) +# define group_malloc(g,n) kumm_malloc(n) +# define group_zalloc(g,n) kumm_zalloc(n) +# define group_free(g,m) kumm_free(m) #endif |