summaryrefslogtreecommitdiff
path: root/nuttx/libxx
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/libxx')
-rw-r--r--nuttx/libxx/libxx_internal.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/libxx/libxx_internal.hxx b/nuttx/libxx/libxx_internal.hxx
index 25ad13c76..1763d4858 100644
--- a/nuttx/libxx/libxx_internal.hxx
+++ b/nuttx/libxx/libxx_internal.hxx
@@ -57,7 +57,7 @@
# include <nuttx/kmalloc.h>
# define lib_malloc(s) kmalloc(s)
# define lib_zalloc(s) kzalloc(s)
-# define lib_realloc(p,s) krealloc(p,s)
+# define lib_realloc(p,s) kmm_realloc(p,s)
# define lib_free(p) kfree(p)
#else
# include <cstdlib>