summaryrefslogtreecommitdiff
path: root/extras/volume_id/lib
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-16 17:10:47 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-10-16 17:10:47 +0200
commitd56f94d1680dfaac9f0c40541548df32bf65b6ea (patch)
tree32d85c6ef3bf00b76a138bcb30638c41d8abf957 /extras/volume_id/lib
parentebacd6ecc301cb4cdacd1a18f6514c4a839f5999 (diff)
volume_id: btrfs - update magic to latest disk format
Diffstat (limited to 'extras/volume_id/lib')
-rw-r--r--extras/volume_id/lib/btrfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/volume_id/lib/btrfs.c b/extras/volume_id/lib/btrfs.c
index 660e6dab38..75a9b0a9a9 100644
--- a/extras/volume_id/lib/btrfs.c
+++ b/extras/volume_id/lib/btrfs.c
@@ -81,7 +81,7 @@ int volume_id_probe_btrfs(struct volume_id *id, uint64_t off, uint64_t size)
if (buf == NULL)
return -1;
bfs = (struct btrfs_super_block *)buf;
- if (memcmp(bfs->magic, "_B9RfS_M", 8) != 0)
+ if (memcmp(bfs->magic, "_BBRfS_M", 8) != 0)
return -1;
volume_id_set_uuid(id, bfs->fsid, 0, UUID_DCE);
volume_id_set_label_raw(id, bfs->label, 256);