aboutsummaryrefslogtreecommitdiffstats
path: root/memdisk/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'memdisk/setup.c')
-rw-r--r--memdisk/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/memdisk/setup.c b/memdisk/setup.c
index a9ae63d0..ffaa2c66 100644
--- a/memdisk/setup.c
+++ b/memdisk/setup.c
@@ -1132,7 +1132,7 @@ void setup(const struct real_mode_args *rm_args_ptr)
hptr->safe_hook.mBFT.ptr->acpi.signature[1] = 'B';
hptr->safe_hook.mBFT.ptr->acpi.signature[2] = 'F';
hptr->safe_hook.mBFT.ptr->acpi.signature[3] = 'T';
- hptr->safe_hook.mBFT.ptr->safe_hook = &hptr->safe_hook;
+ hptr->safe_hook.mBFT.ptr->safe_hook.ptr = &hptr->safe_hook;
hptr->safe_hook.mBFT.ptr->acpi.checksum =
-checksum_buf(hptr->safe_hook.mBFT.ptr,
hptr->safe_hook.mBFT.ptr->acpi.length);