From 95b4aed5fd0bec00e2c3f754c86fec5ba7a83a20 Mon Sep 17 00:00:00 2001 From: Pavel Dovgalyuk Date: Mon, 14 Mar 2016 10:45:04 +0300 Subject: replay: fix error message This patch fixes error message in saving loop of the asynchronous events queue. Signed-off-by: Pavel Dovgalyuk [ kwolf: Fixed format string to use PRId64 instead of %d ] Signed-off-by: Kevin Wolf --- replay/replay-events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'replay') 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); } } -- cgit v1.2.3