diff options
Diffstat (limited to 'migration/fd.c')
-rw-r--r-- | migration/fd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/migration/fd.c b/migration/fd.c index c0afc96c2a..085dd7c51e 100644 --- a/migration/fd.c +++ b/migration/fd.c @@ -51,9 +51,9 @@ void fd_start_outgoing_migration(MigrationState *s, const char *fdname, Error ** } if (fd_is_socket(fd)) { - s->file = qemu_fopen_socket(fd, "wb"); + s->to_dst_file = qemu_fopen_socket(fd, "wb"); } else { - s->file = qemu_fdopen(fd, "wb"); + s->to_dst_file = qemu_fdopen(fd, "wb"); } migrate_fd_connect(s); |