summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-29 21:33:32 +0000
committerhpa <hpa>2004-12-29 21:33:32 +0000
commit0cce800e1e60c14fb952124e9014eb6abd07f04e (patch)
tree2a4487956459022983856f4fc3e8a616370ff049
parenta3bd9765f85aab9193e75734649eb09bcfec13ff (diff)
downloadsyslinux-0cce800e1e60c14fb952124e9014eb6abd07f04e.tar.gz
Remove __attribute__((packed)) which seems to cause problems
-rw-r--r--memdisk/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/memdisk/setup.c b/memdisk/setup.c
index f0dd0f4b..24ce060b 100644
--- a/memdisk/setup.c
+++ b/memdisk/setup.c
@@ -93,7 +93,7 @@ struct patch_area {
uint16_t statusptr;
dpt_t dpt;
-} __attribute__((packed));
+};
/* This is the header in the boot sector/setup area */
struct setup_header {
@@ -121,7 +121,7 @@ struct setup_header {
uint16_t pad1;
uint32_t cmd_line_ptr;
uint32_t initrd_addr_max;
-} __attribute__((packed));
+};
const struct setup_header * const shdr = (struct setup_header *)(LOW_SEG << 4);