diff options
Diffstat (limited to 'sys/sys/diskpc98.h')
-rw-r--r-- | sys/sys/diskpc98.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/diskpc98.h b/sys/sys/diskpc98.h index 6e11218..d709eed 100644 --- a/sys/sys/diskpc98.h +++ b/sys/sys/diskpc98.h @@ -348,6 +348,9 @@ struct dos_partition { u_int32_t dp_start; /* absolute starting sector number */ u_int32_t dp_size; /* partition size in sectors */ }; +#ifdef CTASSERT +CTASSERT(sizeof (struct dos_partition) == 16); +#endif #endif #define DPSECT(s) ((s) & 0x3f) /* isolate relevant bits of sector */ |