summaryrefslogtreecommitdiffstats
path: root/tools/lguest
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lguest')
-rw-r--r--tools/lguest/lguest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lguest/lguest.c b/tools/lguest/lguest.c
index 92a1fe3c07eb..3819e23a173e 100644
--- a/tools/lguest/lguest.c
+++ b/tools/lguest/lguest.c
@@ -3339,7 +3339,7 @@ int main(int argc, char *argv[])
* simple, single region.
*/
boot->e820_entries = 1;
- boot->e820_array[0] = ((struct e820_entry) { 0, mem, E820_RAM });
+ boot->e820_table[0] = ((struct e820_entry) { 0, mem, E820_RAM });
/*
* The boot header contains a command line pointer: we put the command
* line after the boot header.