Skip to content

Commit

Permalink
core/cmd: print graph when dmhg is executed (#2931)
Browse files Browse the repository at this point in the history
  • Loading branch information
ret2libc authored and XVilka committed Aug 24, 2022
1 parent f99fca4 commit 1ae0c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librz/core/cmd/cmd_linux_heap_glibc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1ae0c86

Please sign in to comment.