diff options
Diffstat (limited to 'host')
-rw-r--r-- | host/start-vm/start-vm.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/start-vm/start-vm.rs b/host/start-vm/start-vm.rs index ab856ea..9dfeacc 100644 --- a/host/start-vm/start-vm.rs +++ b/host/start-vm/start-vm.rs @@ -45,8 +45,8 @@ fn vm_command(dir: PathBuf) -> Result<Command, String> { .map_err(|e| format!("examining directory entry: {}", e))? .file_name(); - // Safe because prov is the name of a directory entry, so - // con't contain a null byte. + // Safe because provider_name is the name of a directory entry, so + // can't contain a null byte. let provider_name = unsafe { CString::from_vec_unchecked(entry.into_vec()) }; // Safe because we pass a valid pointer and check the result. |