]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: initialize magic strings in robust way
authorKarel Zak <kzak@redhat.com>
Wed, 25 Nov 2020 14:45:23 +0000 (15:45 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 25 Nov 2020 14:45:23 +0000 (15:45 +0100)
commit0e0a3b59da9a7fd313c4ddf20f24c7a708d42fc3
treec76f232eb0a0e68b4cbe8de9e2393c8ce5ad8d7f
parentc175692050fc2542d911feb19d7c14e8eec2f4ec
libblkid: initialize magic strings in robust way

It is the worst habit to depend on the order of the members of the
structure ...

Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/superblocks/cramfs.c
libblkid/src/superblocks/swap.c