From c34c2f3701e38a06bc9849bee9eac9131a4fdaad Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Tue, 18 Apr 2017 11:35:04 +0200 Subject: monitor: Remove monitor parameter from save_vmstate load_vmstate() already use error_report, so be consistent. There is an identical error message in load_vmstate() that ends in a period. Remove it. Signed-off-by: Juan Quintela Reviewed-by: Laurent Vivier Reviewed-by: Dr. David Alan Gilbert --- replay/replay-snapshot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'replay') diff --git a/replay/replay-snapshot.c b/replay/replay-snapshot.c index 65e2d375c2..8cced4604f 100644 --- a/replay/replay-snapshot.c +++ b/replay/replay-snapshot.c @@ -64,7 +64,7 @@ void replay_vmstate_init(void) { if (replay_snapshot) { if (replay_mode == REPLAY_MODE_RECORD) { - if (save_vmstate(cur_mon, replay_snapshot) != 0) { + if (save_vmstate(replay_snapshot) != 0) { error_report("Could not create snapshot for icount record"); exit(1); } -- cgit v1.2.1