]> granicus.if.org Git - strace/blobdiff - bpf.c
io: handle data_size of -1 as unlimited data in print_iovec
[strace] / bpf.c
diff --git a/bpf.c b/bpf.c
index f7156f07da3f80c4bfebf86fbcca5064c188755b..20070b371bf33c1d1cc91481e6bf01c86c98356f 100644 (file)
--- 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("}");
 }