From: Yury Kotov Date: Fri, 26 Apr 2019 10:21:15 +0000 (+0300) Subject: trace: fix runstate tracing X-Git-Tag: v4.1.0-rc0~140^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b1939fcd438b7140cb8f2685dee026bb112819d7;p=thirdparty%2Fqemu.git trace: fix runstate tracing Signed-off-by: Yury Kotov Reviewed-by: Vladimir Sementsov-Ogievskiy Message-id: 20190426102115.30002-1-yury-kotov@yandex-team.ru Message-Id: <20190426102115.30002-1-yury-kotov@yandex-team.ru> Signed-off-by: Stefan Hajnoczi --- diff --git a/vl.c b/vl.c index 4019a4387d7..d9fea0a1196 100644 --- a/vl.c +++ b/vl.c @@ -725,7 +725,7 @@ void runstate_set(RunState new_state) assert(new_state < RUN_STATE__MAX); trace_runstate_set(current_run_state, RunState_str(current_run_state), - new_state, RunState_str(current_run_state)); + new_state, RunState_str(new_state)); if (current_run_state == new_state) { return;