diff options
Diffstat (limited to 'libdiskconfig/diskconfig.h')
-rw-r--r-- | libdiskconfig/diskconfig.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskconfig/diskconfig.h b/libdiskconfig/diskconfig.h index 9ff8c4d..1e9762a 100644 --- a/libdiskconfig/diskconfig.h +++ b/libdiskconfig/diskconfig.h @@ -48,10 +48,10 @@ #define PART_ACTIVE_FLAG 0x1 struct chs { - uint8_t cylinder; uint8_t head; uint8_t sector; -}; + uint8_t cylinder; +} __attribute__((__packed__)); /* 16 byte pc partition descriptor that sits in MBR and EPBR. * Note: multi-byte entities have little-endian layout on disk */ |