diff options
-rw-r--r-- | com32/sysdump/memmap.c | 1 |
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); |