aboutsummaryrefslogtreecommitdiff
path: root/bpf.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2016-05-16 21:27:30 +0000
committerDmitry V. Levin <ldv@altlinux.org>2016-05-16 21:47:09 +0000
commit18d921da6d34b3eb8e506bb4194a3164cf97f42e (patch)
tree7b6edd938de995cc17d2f6fe6d5a38a3c1476c23 /bpf.c
parent77086594ce4ff74a6afa5d4570d2a1dfbc5ae3c5 (diff)
downloadstrace-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpf.c b/bpf.c
index f7156f07d..20070b371 100644
--- a/bpf.c
+++ b/bpf.c
@@ -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("}");
}