2020-01-10 15:16 UTC-0800 ~ Martin KaFai Lau <kafai@xxxxxx> > For plain text output, it incorrectly prints the pointer value > "void *data". The "void *data" is actually pointing to memory that > contains a bpf-map's value. The intention is to print the content of > the bpf-map's value instead of printing the pointer pointing to the > bpf-map's value. > > In this case, a member of the bpf-map's value is a pointer type. > Thus, it should print the "*(void **)data". > > Fixes: 22c349e8db89 ("tools: bpftool: fix format strings and arguments for jsonw_printf()") > Cc: Quentin Monnet <quentin.monnet@xxxxxxxxxxxxx> > Signed-off-by: Martin KaFai Lau <kafai@xxxxxx> My bad, thank you for the fix! Reviewed-by: Quentin Monnet <quentin.monnet@xxxxxxxxxxxxx>