summaryrefslogtreecommitdiff
path: root/make-bcache.c
diff options
context:
space:
mode:
authorGabriel <g2p.code@gmail.com>2013-04-26 18:50:53 +0200
committerGabriel <g2p.code@gmail.com>2013-04-30 11:25:23 +0200
commit13df67cd20664e59e96c756ac084ba85ceb1fcca (patch)
treecb420ec7356ab714bc7859e11548661dfc75b14d /make-bcache.c
parentebb76d0c4a92fdcd861a066b73536e68bb717c68 (diff)
make-bdev: print the correct offset in the default case
Diffstat (limited to 'make-bcache.c')
-rw-r--r--make-bcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-bcache.c b/make-bcache.c
index 164d40c..0a47c0c 100644
--- a/make-bcache.c
+++ b/make-bcache.c
@@ -207,7 +207,7 @@ static void write_sb(char *dev, unsigned block_size, unsigned bucket_size,
uuid_str, set_uuid_str,
(unsigned) sb.version,
sb.block_size,
- sb.data_offset);
+ data_offset);
} else {
sb.nbuckets = getblocks(fd) / sb.bucket_size;
sb.nr_in_set = 1;