From 624b9cc20922fe7b046cd79c839d1f3a5a5fc27e Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 5 Oct 2011 01:02:52 +0200 Subject: 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 Reviewed-by: Anthony Liguori --- migration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'migration.c') diff --git a/migration.c b/migration.c index c1d647c102..c233b522ff 100644 --- a/migration.c +++ b/migration.c @@ -313,7 +313,7 @@ void migrate_fd_put_notify(void *opaque) qemu_set_fd_handler2(s->fd, NULL, NULL, NULL, NULL); qemu_file_put_notify(s->file); - if (qemu_file_has_error(s->file)) { + if (qemu_file_get_error(s->file)) { migrate_fd_error(s); } } -- cgit v1.2.3