trace: fix runstate tracing
authorYury Kotov <yury-kotov@yandex-team.ru>
Fri, 26 Apr 2019 10:21:15 +0000 (13:21 +0300)
committerStefan Hajnoczi <stefanha@gmail.com>
Mon, 29 Apr 2019 15:57:19 +0000 (11:57 -0400)
Signed-off-by: Yury Kotov <yury-kotov@yandex-team.ru>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
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 <stefanha@gmail.com>
vl.c

diff --git a/vl.c b/vl.c
index 4019a4387d7b3255ff7640976060fa753aafd022..d9fea0a11966c1dc39faddbd0a78c09474be3c88 100644 (file)
--- 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;