summaryrefslogtreecommitdiff
path: root/hw/xfree86/int10/helper_exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/int10/helper_exec.c')
-rw-r--r--hw/xfree86/int10/helper_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/int10/helper_exec.c b/hw/xfree86/int10/helper_exec.c
index 638f5668b..03f9f7da6 100644
--- a/hw/xfree86/int10/helper_exec.c
+++ b/hw/xfree86/int10/helper_exec.c
@@ -726,7 +726,7 @@ xf86Int10SaveRestoreBIOSVars(xf86Int10InfoPtr pInt, Bool save)
}
}
- pci_device_unmap_legacy(pInt->dev, base, pagesize);
+ pci_device_unmap_legacy(pInt->dev, base - BIOS_SCRATCH_OFF, pagesize);
}
#endif