aboutsummaryrefslogtreecommitdiffstats
path: root/com32/sysdump/memmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/sysdump/memmap.c')
-rw-r--r--com32/sysdump/memmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/sysdump/memmap.c b/com32/sysdump/memmap.c
index bc938c9e..c8cfc032 100644
--- a/com32/sysdump/memmap.c
+++ b/com32/sysdump/memmap.c
@@ -49,6 +49,7 @@ static void dump_e820(struct backend *be)
memcpy(buf[nentry].data, curr->data, sizeof curr->data);
buf[nentry].ebx = ireg.ebx.l;
buf[nentry].len = oreg.ecx.l;
+ nentry++;
ireg.ebx.l = oreg.ebx.l;
} while (ireg.ebx.l);