diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2016-05-16 21:27:30 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2016-05-16 21:47:09 +0000 |
commit | 18d921da6d34b3eb8e506bb4194a3164cf97f42e (patch) | |
tree | 7b6edd938de995cc17d2f6fe6d5a38a3c1476c23 /bpf.c | |
parent | 77086594ce4ff74a6afa5d4570d2a1dfbc5ae3c5 (diff) | |
download | strace-18d921da6d34b3eb8e506bb4194a3164cf97f42e.tar.gz |
Fix decoding of BPF_MAP_UPDATE_ELEM flags
* bpf.c (bpf_map_update_elem): Print attr.flags using printxval64.
Diffstat (limited to 'bpf.c')
-rw-r--r-- | bpf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -83,7 +83,7 @@ bpf_map_update_elem(struct tcb *tcp, const long addr, unsigned int size) 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("}"); } |