diff --git a/libr/core/canal.c b/libr/core/canal.c index 58c8e8997e..2db8bd457d 100644 --- a/libr/core/canal.c +++ b/libr/core/canal.c @@ -2592,7 +2592,7 @@ static int fcn_list_json(RCore *core, RList *fcns, bool quiet) { pj_a (pj); r_list_foreach (fcns, iter, fcn) { if (quiet) { - r_cons_printf ("%d", fcn->addr); + pj_n (pj, fcn->addr); } else { fcn_print_json (core, fcn, pj); }