diff options
author | Juan Quintela <quintela@redhat.com> | 2011-10-05 01:02:52 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2011-10-20 13:23:52 +0200 |
commit | 624b9cc20922fe7b046cd79c839d1f3a5a5fc27e (patch) | |
tree | ee5789c0a6966b697caf48b463f95602ecbc94ea /arch_init.c | |
parent | 3934638539c763ad23026b70483e60be34078c57 (diff) |
migration: rename qemu_file_has_error to qemu_file_get_error
Now the function returned errno, so it is better the new name.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
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)); |