From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj3sh-0005b5-KN for qemu-devel@nongnu.org; Thu, 24 Mar 2016 07:56:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aj3se-0000oG-Cl for qemu-devel@nongnu.org; Thu, 24 Mar 2016 07:56:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj3se-0000oC-7u for qemu-devel@nongnu.org; Thu, 24 Mar 2016 07:56:48 -0400 Date: Thu, 24 Mar 2016 12:56:42 +0100 From: Kevin Wolf Message-ID: <20160324115642.GD4310@noname.redhat.com> References: <20160314074429.4980.34777.stgit@PASHA-ISP> <20160314074504.4980.29461.stgit@PASHA-ISP> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160314074504.4980.29461.stgit@PASHA-ISP> Subject: Re: [Qemu-devel] [PATCH v5 6/7] replay: fix error message List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Dovgalyuk Cc: edgar.iglesias@xilinx.com, peter.maydell@linaro.org, igor.rubinov@gmail.com, mark.burton@greensocs.com, real@ispras.ru, hines@cert.org, qemu-devel@nongnu.org, maria.klimushenkova@ispras.ru, stefanha@redhat.com, pbonzini@redhat.com, batuzovk@ispras.ru, alex.bennee@linaro.org, fred.konrad@greensocs.com Am 14.03.2016 um 08:45 hat Pavel Dovgalyuk geschrieben: > This patch fixes error message in saving loop of the asynchronous events queue. > > Signed-off-by: Pavel Dovgalyuk > --- > replay/replay-events.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/replay/replay-events.c b/replay/replay-events.c > index 4aa8034..b6b8a64 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 %d of replay event", event->id); replay/replay-events.c: In function 'replay_save_event': replay/replay-events.c:178:13: error: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' [-Werror=format=] Fixing this into %" PRId64 ". Kevin > exit(1); > } > } >