diff options
Diffstat (limited to 'replay/replay-snapshot.c')
-rw-r--r-- | replay/replay-snapshot.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/replay/replay-snapshot.c b/replay/replay-snapshot.c index a4ded2956d..b2e10769a6 100644 --- a/replay/replay-snapshot.c +++ b/replay/replay-snapshot.c @@ -21,10 +21,12 @@ #include "migration/vmstate.h" #include "migration/snapshot.h" -static void replay_pre_save(void *opaque) +static int replay_pre_save(void *opaque) { ReplayState *state = opaque; state->file_offset = ftell(replay_file); + + return 0; } static int replay_post_load(void *opaque, int version_id) |