summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbcachefs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbcachefs.c b/libbcachefs.c
index 8ef9c37b..e7c1ca23 100644
--- a/libbcachefs.c
+++ b/libbcachefs.c
@@ -733,6 +733,7 @@ void bch2_sb_print(struct bch_sb *sb, bool print_layout,
printf("External UUID: %s\n"
"Internal UUID: %s\n"
+ "Device index: %u\n"
"Label: %s\n"
"Version: %llu\n"
"Created: %s\n"
@@ -764,6 +765,7 @@ void bch2_sb_print(struct bch_sb *sb, bool print_layout,
"Superblock size: %llu\n",
user_uuid_str,
internal_uuid_str,
+ sb->dev_idx,
label,
le64_to_cpu(sb->version),
time_str,