diff options
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
-rw-r--r-- | tools/bpf/bpftool/prog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bpf/bpftool/prog.c b/tools/bpf/bpftool/prog.c index d60f5307b6e2..aa6d72ea3807 100644 --- a/tools/bpf/bpftool/prog.c +++ b/tools/bpf/bpftool/prog.c | |||
@@ -224,7 +224,7 @@ static int show_prog(int fd) | |||
224 | printf("name %s ", info.name); | 224 | printf("name %s ", info.name); |
225 | 225 | ||
226 | printf("tag "); | 226 | printf("tag "); |
227 | print_hex(info.tag, BPF_TAG_SIZE, ""); | 227 | fprint_hex(stdout, info.tag, BPF_TAG_SIZE, ""); |
228 | printf("\n"); | 228 | printf("\n"); |
229 | 229 | ||
230 | if (info.load_time) { | 230 | if (info.load_time) { |
@@ -319,7 +319,7 @@ static void dump_xlated(void *buf, unsigned int len, bool opcodes) | |||
319 | 319 | ||
320 | if (opcodes) { | 320 | if (opcodes) { |
321 | printf(" "); | 321 | printf(" "); |
322 | print_hex(insn + i, 8, " "); | 322 | fprint_hex(stdout, insn + i, 8, " "); |
323 | printf("\n"); | 323 | printf("\n"); |
324 | } | 324 | } |
325 | 325 | ||