summaryrefslogtreecommitdiff
path: root/extras/volume_id
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-11-18 19:14:37 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-11-18 19:14:37 +0100
commit361b8a7423e9e50486b0efdf6e68ab6ffafe7785 (patch)
tree452b27fae67ec2000b0a082f3e1c204748fc54ad /extras/volume_id
parent88608b1704ae8d701251614eb40c2e2e9e1f6d0e (diff)
volume_id: update btrfs magic
Diffstat (limited to 'extras/volume_id')
-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 a725c4d12f..315abddae6 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, "_BDRfS_M", 8) != 0)
+ if (memcmp(bfs->magic, "_BFRfS_M", 8) != 0)
return -1;
volume_id_set_uuid(id, bfs->fsid, 0, UUID_DCE);
volume_id_set_label_raw(id, bfs->label, 256);