summaryrefslogtreecommitdiff
path: root/print-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-tree.c')
-rw-r--r--print-tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/print-tree.c b/print-tree.c
index eb0c86b0..0250d333 100644
--- a/print-tree.c
+++ b/print-tree.c
@@ -88,7 +88,8 @@ void btrfs_print_leaf(struct btrfs_root *root, struct btrfs_leaf *l)
break;
case BTRFS_DEV_ITEM_KEY:
devi = btrfs_item_ptr(l, i, struct btrfs_device_item);
- printf("\t\tdev namelen %u name %.*s\n",
+ printf("\t\tdev id %Lu namelen %u name %.*s\n",
+ btrfs_device_id(devi),
btrfs_device_pathlen(devi),
btrfs_device_pathlen(devi),
(char *)(devi + 1));