diff options
Diffstat (limited to 'com32/lib')
-rw-r--r-- | com32/lib/syslinux/dump_mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/syslinux/dump_mmap.c b/com32/lib/syslinux/dump_mmap.c index 87b894ac..90ab840a 100644 --- a/com32/lib/syslinux/dump_mmap.c +++ b/com32/lib/syslinux/dump_mmap.c @@ -40,7 +40,7 @@ void syslinux_dump_memmap(FILE *file, struct syslinux_memmap *memmap) fprintf(file, "%10s %10s %10s\n" "--------------------------------\n", "Start", "Length", "Type"); - while (memmap->type != SMT_END) { + while (memmap->next) { fprintf(file, "0x%08x 0x%08x %10d\n", memmap->start, memmap->next->start - memmap->start, memmap->type); memmap = memmap->next; |