From 1ae0c86f3bc6e21465ed89606cff5c79529acb0a Mon Sep 17 00:00:00 2001 From: Riccardo Schirone Date: Thu, 18 Aug 2022 12:01:25 +0200 Subject: [PATCH] core/cmd: print graph when dmhg is executed (#2931) --- librz/core/cmd/cmd_linux_heap_glibc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librz/core/cmd/cmd_linux_heap_glibc.c b/librz/core/cmd/cmd_linux_heap_glibc.c index fa3e8b1d16e..287ede3609e 100644 --- a/librz/core/cmd/cmd_linux_heap_glibc.c +++ b/librz/core/cmd/cmd_linux_heap_glibc.c @@ -36,7 +36,7 @@ RZ_IPI RzCmdStatus rz_cmd_heap_chunk_print_handler(RzCore *core, int argc, const RZ_IPI RzCmdStatus rz_cmd_heap_chunks_graph_handler(RzCore *core, int argc, const char **argv) { // RZ_OUTPUT_MODE_LONG_JSON mode workaround for graph RzCmdStateOutput state = { 0 }; - if (!rz_cmd_state_output_init(&state, RZ_OUTPUT_MODE_LONG)) { + if (!rz_cmd_state_output_init(&state, RZ_OUTPUT_MODE_LONG_JSON)) { return RZ_CMD_STATUS_ERROR; } RzCmdStatus res;