From 34b3170680e46747c0903d3c70a48bc433b15cf3 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Fri, 13 Jan 2023 16:55:55 +0000 Subject: [PATCH] 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 --- vmm/src/lib.rs | 2 +- vmm/src/vm.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vmm/src/lib.rs b/vmm/src/lib.rs index 951c77cdd..a25cab35d 100644 --- a/vmm/src/lib.rs +++ b/vmm/src/lib.rs @@ -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(); diff --git a/vmm/src/vm.rs b/vmm/src/vm.rs index 06e1f21f0..a03758298 100644 --- a/vmm/src/vm.rs +++ b/vmm/src/vm.rs @@ -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();