Fix typo get openoptions function name
Co-authored-by: Ivan Tham <pickfire@riseup.net>
This commit is contained in:
parent
27c90b881d
commit
eb3906be4a
1 changed files with 1 additions and 1 deletions
|
@ -963,7 +963,7 @@ pub fn rename(old: &Path, new: &Path) -> io::Result<()> {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
pub fn get_openopetions_as_cint(from: OpenOptions) -> io::Result<libc::c_int> {
|
||||
pub fn get_openoptions_as_cint(from: OpenOptions) -> io::Result<libc::c_int> {
|
||||
let access_mode = from.get_access_mode()?;
|
||||
let creation_mode = from.get_creation_mode()?;
|
||||
Ok(creation_mode | access_mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue