summaryrefslogtreecommitdiffstats
path: root/com32/modules/chain.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/modules/chain.c')
-rw-r--r--com32/modules/chain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/modules/chain.c b/com32/modules/chain.c
index 7a2c8d4f..48a83d2a 100644
--- a/com32/modules/chain.c
+++ b/com32/modules/chain.c
@@ -1629,7 +1629,7 @@ int main(int argc, char *argv[])
char config_file[89];
/* 0x270: start of code (after jump from 0x200) */
char codestart[1];
- } __attribute__ ((packed));
+ } __attribute__ ((packed)) *stage2;
if (data[ndata].size < sizeof(struct grub_stage2_patch_area)) {
error
@@ -1637,7 +1637,7 @@ int main(int argc, char *argv[])
goto bail;
}
- struct grub_stage2_patch_area *stage2 = data[ndata].data;
+ stage2 = data[ndata].data;
/*
* Check the compatibility version number to see if we loaded a real