diff options
Diffstat (limited to 'migration/channel-block.c')
-rw-r--r-- | migration/channel-block.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/channel-block.c b/migration/channel-block.c index fff8d87..b0477f5 100644 --- a/migration/channel-block.c +++ b/migration/channel-block.c @@ -123,7 +123,7 @@ qio_channel_block_seek(QIOChannel *ioc, bioc->offset = offset; break; case SEEK_CUR: - bioc->offset += whence; + bioc->offset += offset; break; case SEEK_END: error_setg(errp, "Size of VMstate region is unknown"); |