From 510c1cfb46846a084a6316476602a658573ed93e Mon Sep 17 00:00:00 2001 From: Dmitry Torokhov Date: Wed, 28 Nov 2018 15:23:37 -0800 Subject: [PATCH] crosvm/plugin: fix typo 'singal' -> 'signal' Fix $SUBJECT in log message and in a comment. BUG=None TEST=Build Change-Id: Ice2e60464648c2934869fa176a8b28ed675ff79b Reviewed-on: https://chromium-review.googlesource.com/1354487 Commit-Ready: ChromeOS CL Exonerator Bot Tested-by: Dmitry Torokhov Reviewed-by: Zach Reizner --- src/plugin/mod.rs | 2 +- src/plugin/process.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugin/mod.rs b/src/plugin/mod.rs index 5dca8f75fa..745fa4eb1a 100644 --- a/src/plugin/mod.rs +++ b/src/plugin/mod.rs @@ -538,7 +538,7 @@ pub fn run_config(cfg: Config) -> Result<()> { let mut redo_poll_ctx_sockets = true; // In this loop, make every attempt to not return early. If an error is encountered, set `res` // to the error, set `dying_instant` to now, and signal the plugin that it will be killed soon. - // If the plugin cannot be singaled because it is dead of `signal_kill` failed, simply break + // If the plugin cannot be signaled because it is dead of `signal_kill` failed, simply break // from the poll loop so that the VCPU threads can be cleaned up. 'poll: loop { // After we have waited long enough, it's time to give up and exit. diff --git a/src/plugin/process.rs b/src/plugin/process.rs index c46b8351cc..ce2b717314 100644 --- a/src/plugin/process.rs +++ b/src/plugin/process.rs @@ -673,7 +673,7 @@ impl Drop for Process { fn drop(&mut self) { // Ignore the result because there is nothing we can do about it. if let Err(e) = self.signal_kill() { - error!("failed to singal kill event for plugin: {:?}", e); + error!("failed to signal kill event for plugin: {:?}", e); } } }