From 166d46a81998e7e4773b6985a2febf8000d8cd81 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 4 Sep 2014 07:01:22 -0600 Subject: [PATCH] Fix error in new macro definition that causes compile problem when not using a kernel-mode build --- include/nuttx/kmalloc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/nuttx/kmalloc.h b/include/nuttx/kmalloc.h index 33b3b8910d..44ebf9746e 100644 --- a/include/nuttx/kmalloc.h +++ b/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