aboutsummaryrefslogtreecommitdiff
path: root/replay
diff options
context:
space:
mode:
authorPavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>2016-03-14 10:45:04 +0300
committerKevin Wolf <kwolf@redhat.com>2016-03-30 12:12:15 +0200
commit95b4aed5fd0bec00e2c3f754c86fec5ba7a83a20 (patch)
tree2371de2ff5edc26431bf8496270605f8af248acd /replay
parent58a0067aa8bf1e3ccad4fc354b080502e63f9fb1 (diff)
replay: fix error message
This patch fixes error message in saving loop of the asynchronous events queue. Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru> [ kwolf: Fixed format string to use PRId64 instead of %d ] Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'replay')
-rw-r--r--replay/replay-events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/replay/replay-events.c b/replay/replay-events.c
index 4aa8034d98..873e435804 100644
--- a/replay/replay-events.c
+++ b/replay/replay-events.c
@@ -175,7 +175,7 @@ static void replay_save_event(Event *event, int checkpoint)
replay_event_char_read_save(event->opaque);
break;
default:
- error_report("Unknown ID %d of replay event", read_event_kind);
+ error_report("Unknown ID %" PRId64 " of replay event", event->id);
exit(1);
}
}