Remove vm in path_from_fd

This commit is contained in:
Dean Li
2021-04-05 11:13:39 +08:00
parent 84e1cf87ab
commit 5dae7aacda

View File

@@ -170,7 +170,7 @@ fn path_from_fd(raw_fd: i64) -> Result<PathBuf, String> {
};
Ok(path)
} else {
Err(vm.new_os_error("fd not supported on wasi yet".to_owned()));
Err("fd not supported on wasi yet");
}
}
}