diff options
Diffstat (limited to 'arch_init.c')
-rw-r--r-- | arch_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch_init.c b/arch_init.c index 941d585e0a..9128be0b02 100644 --- a/arch_init.c +++ b/arch_init.c @@ -451,7 +451,7 @@ int ram_load(QEMUFile *f, void *opaque, int version_id) qemu_get_buffer(f, host, TARGET_PAGE_SIZE); } - if (qemu_file_has_error(f)) { + if (qemu_file_get_error(f)) { return -EIO; } } while (!(flags & RAM_SAVE_FLAG_EOS)); |