diff mbox series

[PULL,1/1] trace: fix runstate tracing

Message ID 20190429161046.10527-2-stefanha@gmail.com
State New
Headers show
Series [PULL,1/1] trace: fix runstate tracing | expand

Commit Message

Stefan Hajnoczi April 29, 2019, 4:10 p.m. UTC
From: Yury Kotov <yury-kotov@yandex-team.ru>

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/vl.c b/vl.c
index 4019a4387d..d9fea0a119 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;