]> err.no Git - util-linux/commitdiff
blkid: netware SB has to be packed
authorKarel Zak <kzak@redhat.com>
Wed, 21 Jan 2009 18:23:10 +0000 (19:23 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 11 Feb 2009 22:35:23 +0000 (23:35 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
libs/blkid/src/probers/netware.c

index bfd5e2e280eced7832197b2d4d9bde123d2f58e8..722506f87c043afd62aa8b70bcb4a3592d8474ea 100644 (file)
@@ -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)
 {