From: Karel Zak Date: Wed, 21 Jan 2009 18:23:10 +0000 (+0100) Subject: blkid: netware SB has to be packed X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e6b1747e93bb1bd2d1cd94ac17666fa97a6a738;p=util-linux blkid: netware SB has to be packed Signed-off-by: Karel Zak --- 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) {