summary refs log tree commit diff
path: root/host/start-vm
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2022-03-19 19:05:12 +0000
committerAlyssa Ross <hi@alyssa.is>2022-03-19 19:09:29 +0000
commitdacdcf60f44477b20af4d22d351e463230269c4f (patch)
treee0a591ff8e6c421f4ce26059e0bbe3c881c1c8c7 /host/start-vm
parentb6045021aa4a1e9f2cc4713f404dabea964cad51 (diff)
downloadspectrum-dacdcf60f44477b20af4d22d351e463230269c4f.tar
spectrum-dacdcf60f44477b20af4d22d351e463230269c4f.tar.gz
spectrum-dacdcf60f44477b20af4d22d351e463230269c4f.tar.bz2
spectrum-dacdcf60f44477b20af4d22d351e463230269c4f.tar.lz
spectrum-dacdcf60f44477b20af4d22d351e463230269c4f.tar.xz
spectrum-dacdcf60f44477b20af4d22d351e463230269c4f.tar.zst
spectrum-dacdcf60f44477b20af4d22d351e463230269c4f.zip
host/start-vm: fix typo in doc comment
Diffstat (limited to 'host/start-vm')
-rw-r--r--host/start-vm/ch.rs2
1 files changed, 1 insertions, 1 deletions
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);