diff --git a/tools/acrn-manager/acrn_vm_ops.c b/tools/acrn-manager/acrn_vm_ops.c index 7607a9515..fbc155283 100644 --- a/tools/acrn-manager/acrn_vm_ops.c +++ b/tools/acrn-manager/acrn_vm_ops.c @@ -72,7 +72,7 @@ static int query_state(const char *name) req.msgid = DM_QUERY; req.timestamp = time(NULL); - ret = send_msg(vmname, &req, &ack); + ret = send_msg(name, &req, &ack); if (ret) return ret;