summaryrefslogtreecommitdiff
path: root/print-tree.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-04-18 16:15:47 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-04-18 16:15:47 -0400
commit8c973943bb862d466967f28d87e23b889ea5693f (patch)
tree2863b79886821ad5299b7a89b6f4d97287a38775 /print-tree.c
parent8d1d13c786b6edca8c8fa3d4f4c8763948f43502 (diff)
key flag reorg
Diffstat (limited to 'print-tree.c')
-rw-r--r--print-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-tree.c b/print-tree.c
index 31051a82..12787c67 100644
--- a/print-tree.c
+++ b/print-tree.c
@@ -28,7 +28,7 @@ void btrfs_print_leaf(struct btrfs_root *root, struct btrfs_leaf *l)
for (i = 0 ; i < nr ; i++) {
item = l->items + i;
type = btrfs_disk_key_type(&item->key);
- printf("\titem %d key (%Lu %u %Lu) itemoff %d itemsize %d\n",
+ printf("\titem %d key (%Lu %x %Lu) itemoff %d itemsize %d\n",
i,
btrfs_disk_key_objectid(&item->key),
btrfs_disk_key_flags(&item->key),
@@ -129,7 +129,7 @@ void btrfs_print_tree(struct btrfs_root *root, struct btrfs_buffer *t)
btrfs_header_generation(&c->header));
fflush(stdout);
for (i = 0; i < nr; i++) {
- printf("\tkey %d (%Lu %u %Lu) block %Lu\n",
+ printf("\tkey %d (%Lu %x %Lu) block %Lu\n",
i,
c->ptrs[i].key.objectid,
c->ptrs[i].key.flags,