mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-01-12 16:45:31 +00:00
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 <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Dmitry Torokhov <dtor@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org>
This commit is contained in:
parent
0daffb0eb5
commit
510c1cfb46
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue