From: Jeff Mahoney <[email protected]>
* btrfs.c: (btrfs_print_logical_ino_container) Fix the element count to
reflect the number of records rather than the number of items.
---
btrfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/btrfs.c b/btrfs.c
index c1c9592..af0645c 100644
--- a/btrfs.c
+++ b/btrfs.c
@@ -303,7 +303,7 @@ btrfs_print_logical_ino_container(struct tcb *tcp,
const uint64_t val_addr =
inodes_addr + offsetof(typeof(container), val);
uint64_t record[3];
- print_array(tcp, val_addr, container.elem_cnt,
+ print_array(tcp, val_addr, container.elem_cnt / 3,
record, sizeof(record),
umoven_or_printaddr,
print_btrfs_data_container_logical_ino, 0);
--
2.7.1
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel