From: Thomas Weißschuh Date: Sat, 14 Oct 2023 10:18:14 +0000 (+0200) Subject: libblkid: (vxfs) use hex escape for magic X-Git-Tag: v2.40-rc1~199^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=522af0ff51276a2143ec4547b102eec1ee110eb7;p=thirdparty%2Futil-linux.git libblkid: (vxfs) use hex escape for magic It's easier to read and more consistent. Signed-off-by: Thomas Weißschuh --- diff --git a/libblkid/src/superblocks/vxfs.c b/libblkid/src/superblocks/vxfs.c index be668315eb..274af1bdab 100644 --- a/libblkid/src/superblocks/vxfs.c +++ b/libblkid/src/superblocks/vxfs.c @@ -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 } } };