diff options
author | David S. Miller <davem@davemloft.net> | 2017-10-22 02:11:33 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-22 02:11:33 +0100 |
commit | a8e8c0ecb4bbeb28cab752e1b3c2ee96a595af26 (patch) | |
tree | 3c15e3ad7cc63f5a05994983138b36e1ad4a3c1e /tools/bpf/bpftool/main.h | |
parent | f3ae608edb3be2e9a3f668d47aced3553eaf6c14 (diff) | |
parent | 821cfbb0dcfbb24506dc6958361ca2b80b928049 (diff) |
Merge branch 'bpftool-add-a-version-command-and-fix-several-items'
Jakub Kicinski says:
====================
tools: bpftool: add a "version" command, and fix several items
Quentin says:
The first seven patches of this series bring several minor fixes to
bpftool. Please see individual commit logs for details.
Last patch adds a "version" commands to bpftool, which is in fact the
version of the kernel from which it was compiled.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/bpf/bpftool/main.h')
-rw-r--r-- | tools/bpf/bpftool/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bpf/bpftool/main.h b/tools/bpf/bpftool/main.h index 844e4ef6db56..41e6c7d3fcad 100644 --- a/tools/bpf/bpftool/main.h +++ b/tools/bpf/bpftool/main.h @@ -67,7 +67,7 @@ enum bpf_obj_type { extern const char *bin_name; bool is_prefix(const char *pfx, const char *str); -void print_hex(void *arg, unsigned int n, const char *sep); +void fprint_hex(FILE *f, void *arg, unsigned int n, const char *sep); void usage(void) __attribute__((noreturn)); struct cmd { |