summaryrefslogtreecommitdiff
path: root/libbcachefs/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/debug.c')
-rw-r--r--libbcachefs/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/debug.c b/libbcachefs/debug.c
index 09b67279..8ad710bb 100644
--- a/libbcachefs/debug.c
+++ b/libbcachefs/debug.c
@@ -933,7 +933,7 @@ void bch2_fs_debug_init(struct bch_fs *c)
if (IS_ERR_OR_NULL(bch_debug))
return;
- if (!c->opts.single_device)
+ if (c->sb.multi_device)
snprintf(name, sizeof(name), "%pU", c->sb.user_uuid.b);
else
strscpy(name, c->name, sizeof(name));