From 4c9d15d44c600096aa3d1d81445454c4c887bc1e Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Mon, 23 Mar 2020 16:35:58 +0000 Subject: [PATCH] vmm: Fix copy and paste error message vm_remove_device was copied from vm_add_device but the error message wasn't correctly updated. Signed-off-by: Rob Bradford --- vmm/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmm/src/lib.rs b/vmm/src/lib.rs index aa7aed8b5..71482d4db 100644 --- a/vmm/src/lib.rs +++ b/vmm/src/lib.rs @@ -405,7 +405,7 @@ impl Vmm { fn vm_remove_device(&mut self, id: String) -> result::Result<(), VmError> { if let Some(ref mut vm) = self.vm { if let Err(e) = vm.remove_device(id) { - error!("Error when adding new device to the VM: {:?}", e); + error!("Error when removing new device to the VM: {:?}", e); Err(e) } else { Ok(())