aboutsummaryrefslogtreecommitdiff
path: root/target-i386/arch_dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-i386/arch_dump.c')
-rw-r--r--target-i386/arch_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/arch_dump.c b/target-i386/arch_dump.c
index 8209ce9ee2..2cd2f7f09e 100644
--- a/target-i386/arch_dump.c
+++ b/target-i386/arch_dump.c
@@ -403,7 +403,7 @@ int cpu_get_dump_info(ArchDumpInfo *info)
} else {
info->d_class = ELFCLASS32;
- QLIST_FOREACH(block, &ram_list.blocks, next) {
+ QTAILQ_FOREACH(block, &ram_list.blocks, next) {
if (block->offset + block->length > UINT_MAX) {
/* The memory size is greater than 4G */
info->d_class = ELFCLASS64;