From 5e6b1747e93bb1bd2d1cd94ac17666fa97a6a738 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 21 Jan 2009 19:23:10 +0100 Subject: [PATCH] blkid: netware SB has to be packed Signed-off-by: Karel Zak --- libs/blkid/src/probers/netware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/blkid/src/probers/netware.c b/libs/blkid/src/probers/netware.c index bfd5e2e2..722506f8 100644 --- a/libs/blkid/src/probers/netware.c +++ b/libs/blkid/src/probers/netware.c @@ -63,7 +63,7 @@ struct netware_super_block { uint8_t SBH_SS_Guid[16]; uint16_t SBH_SS_OriginalName[64]; uint32_t reserved2[64-(2+46)]; -}; +} __attribute__((__packed__)); static int probe_netware(blkid_probe pr, const struct blkid_idmag *mag) { -- 2.39.5