virtio-device: fix some misspelled words in comment

Fix some trivial spelling problem.
No functional change.

Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
This commit is contained in:
Yi Wang
2021-05-07 08:57:33 +08:00
committed by Sebastien Boeuf
parent c439324451
commit 1adcf5225b
5 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ impl Watchdog {
self.common.avail_features = state.avail_features;
self.common.acked_features = state.acked_features;
// When restoring enable the watchdog if it was previously enabled. We reset the timer
// to ensure that we don't unnecesarily reboot due to the offline time.
// to ensure that we don't unnecessarily reboot due to the offline time.
if state.enabled {
self.last_ping_time.lock().unwrap().replace(Instant::now());
}