summaryrefslogtreecommitdiffstats
path: root/src/vpp-api
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api')
-rw-r--r--src/vpp-api/client/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp-api/client/test.c b/src/vpp-api/client/test.c
index 6e74761fe24..67c3b68e48f 100644
--- a/src/vpp-api/client/test.c
+++ b/src/vpp-api/client/test.c
@@ -178,7 +178,7 @@ test_stats (void)
vec_free(dir);
(void) clib_mem_trace_enable_disable (0);
- u8 *leak_report = format (0, "%U", format_mheap, clib_mem_get_heap (),
+ u8 *leak_report = format (0, "%U", format_clib_mem_heap, 0,
1 /* verbose, i.e. print leaks */ );
printf("%s", leak_report);
vec_free (leak_report);