From dacdcf60f44477b20af4d22d351e463230269c4f Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sat, 19 Mar 2022 19:05:12 +0000 Subject: host/start-vm: fix typo in doc comment --- host/start-vm/ch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/start-vm') diff --git a/host/start-vm/ch.rs b/host/start-vm/ch.rs index 7cba50e..44519e2 100644 --- a/host/start-vm/ch.rs +++ b/host/start-vm/ch.rs @@ -101,7 +101,7 @@ unsafe extern "C" fn add_net_c( /// /// - `vm_name` must point to a valid C string. /// - `id` must be a device ID obtained by calling `add_net_c`. After -/// calling `device_free`, the pointer is no longer valid. +/// calling `remove_device_c`, the pointer is no longer valid. #[export_name = "ch_remove_device"] unsafe extern "C" fn remove_device_c(vm_name: *const c_char, device_id: *mut OsString) -> c_int { let vm_name = CStr::from_ptr(vm_name); -- cgit 1.4.1