summaryrefslogtreecommitdiff
path: root/make-bcache.c
diff options
context:
space:
mode:
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 1c5d3e6..fbf547f 100644
--- a/make-bcache.c
+++ b/make-bcache.c
@@ -185,7 +185,7 @@ static void write_sb(char *dev, unsigned block_size, unsigned bucket_size,
uuid_unparse(sb.uuid, uuid_str);
uuid_unparse(sb.set_uuid, set_uuid_str);
- if (SB_BDEV(&sb)) {
+ if (SB_IS_BDEV(&sb)) {
SET_BDEV_WRITEBACK(&sb, writeback);
if (data_offset != BDEV_DATA_START_DEFAULT) {