From 361b8a7423e9e50486b0efdf6e68ab6ffafe7785 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 18 Nov 2008 19:14:37 +0100 Subject: [PATCH] volume_id: update btrfs magic --- extras/volume_id/lib/btrfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/volume_id/lib/btrfs.c b/extras/volume_id/lib/btrfs.c index a725c4d1..315abdda 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); -- 2.39.5