]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libblkid: (vxfs) use hex escape for magic
authorThomas Weißschuh <thomas@t-8ch.de>
Sat, 14 Oct 2023 10:18:14 +0000 (12:18 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Sat, 14 Oct 2023 10:57:26 +0000 (12:57 +0200)
It's easier to read and more consistent.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
libblkid/src/superblocks/vxfs.c

index be668315eb850ad3a5d16a43695e607a93f0bd28..274af1bdab75946d599fc0b1072cfb174c78822a 100644 (file)
@@ -53,8 +53,8 @@ const struct blkid_idinfo vxfs_idinfo =
        .probefunc      = probe_vxfs,
        .magics         =
        {
-               { .magic = "\365\374\001\245", .len = 4, .kboff = 1 },
-               { .magic = "\245\001\374\365", .len = 4, .kboff = 8 },
+               { .magic = "\xf5\xfc\x01\xa5", .len = 4, .kboff = 1 },
+               { .magic = "\xa5\x01\xfc\xf5", .len = 4, .kboff = 8 },
                { NULL }
        }
 };