From: Kay Sievers Date: Wed, 5 Nov 2008 01:22:07 +0000 (+0100) Subject: volume_id: btrfs update X-Git-Tag: 174~1350 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d5076dd92a35c3c7cf48e4998d08feac27827ff;p=systemd volume_id: btrfs update --- diff --git a/extras/volume_id/lib/btrfs.c b/extras/volume_id/lib/btrfs.c index 75a9b0a9..a725c4d1 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, "_BBRfS_M", 8) != 0) + if (memcmp(bfs->magic, "_BDRfS_M", 8) != 0) return -1; volume_id_set_uuid(id, bfs->fsid, 0, UUID_DCE); volume_id_set_label_raw(id, bfs->label, 256);