vmm: fix two typos

Change "thead" to "thread".

Also make sure the two messages are distinguishable by adding "vmm" and
"vm" prefix.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu 2023-01-13 16:55:55 +00:00 committed by Liu Wei
parent 427a2bacf5
commit 34b3170680
2 changed files with 2 additions and 2 deletions

View File

@ -468,7 +468,7 @@ impl Vmm {
Vmm::signal_handler(signals, on_tty, &exit_evt);
}))
.map_err(|_| {
error!("signal_handler thead panicked");
error!("vmm signal_handler thread panicked");
exit_evt.write(1).ok()
})
.ok();

View File

@ -1970,7 +1970,7 @@ impl Vm {
Vm::signal_handler(signals, console);
}))
.map_err(|_| {
error!("signal_handler thead panicked");
error!("vm signal_handler thread panicked");
exit_evt.write(1).ok()
})
.ok();