commit | 18d921da6d34b3eb8e506bb4194a3164cf97f42e | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Mon May 16 21:27:30 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Mon May 16 21:47:09 2016 +0000 |
tree | 7b6edd938de995cc17d2f6fe6d5a38a3c1476c23 | |
parent | 77086594ce4ff74a6afa5d4570d2a1dfbc5ae3c5 [diff] [blame] |
Fix decoding of BPF_MAP_UPDATE_ELEM flags * bpf.c (bpf_map_update_elem): Print attr.flags using printxval64.
diff --git a/bpf.c b/bpf.c index f7156f0..20070b3 100644 --- a/bpf.c +++ b/bpf.c
@@ -83,7 +83,7 @@ printfd(tcp, attr.map_fd); tprintf(", key=%#" PRIx64 ", value=%#" PRIx64 ", flags=", attr.key, attr.value); - printxval(bpf_map_update_elem_flags, attr.flags, "BPF_???"); + printxval64(bpf_map_update_elem_flags, attr.flags, "BPF_???"); tprints("}"); }