summaryrefslogtreecommitdiffstats
path: root/lib/device/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/device/device.c')
-rw-r--r--lib/device/device.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/device/device.c b/lib/device/device.c
index daef2aee..9d3c1cf7 100644
--- a/lib/device/device.c
+++ b/lib/device/device.c
@@ -27,16 +27,16 @@
#define PART_OFFSET UINT64_C(0x1BE)
struct partition {
- uint8_t boot_ind;
- uint8_t head;
- uint8_t sector;
- uint8_t cyl;
- uint8_t sys_ind; /* partition type */
- uint8_t end_head;
- uint8_t end_sector;
- uint8_t end_cyl;
- uint32_t start_sect;
- uint32_t nr_sects;
+ uint8_t boot_ind;
+ uint8_t head;
+ uint8_t sector;
+ uint8_t cyl;
+ uint8_t sys_ind; /* partition type */
+ uint8_t end_head;
+ uint8_t end_sector;
+ uint8_t end_cyl;
+ uint32_t start_sect;
+ uint32_t nr_sects;
} __attribute__((packed));
static int _is_partitionable(struct device *dev)