make-bdev: print the correct offset in the default case

This commit is contained in:
Gabriel 2013-04-26 18:50:53 +02:00
parent ebb76d0c4a
commit 13df67cd20

View File

@ -207,7 +207,7 @@ static void write_sb(char *dev, unsigned block_size, unsigned bucket_size,
uuid_str, set_uuid_str, uuid_str, set_uuid_str,
(unsigned) sb.version, (unsigned) sb.version,
sb.block_size, sb.block_size,
sb.data_offset); data_offset);
} else { } else {
sb.nbuckets = getblocks(fd) / sb.bucket_size; sb.nbuckets = getblocks(fd) / sb.bucket_size;
sb.nr_in_set = 1; sb.nr_in_set = 1;