unbreak openbsd build after 1860ee52
The commit 1860ee52 has break the openbsd build. Repair it.
This commit is contained in:
parent
522d09dfec
commit
082bf7fd0c
@ -211,7 +211,7 @@ pub fn current_exe() -> IoResult<Path> {
|
||||
if v.is_null() {
|
||||
Err(IoError::last_error())
|
||||
} else {
|
||||
Ok(Path::new(CStr::from_ptr(&v).to_bytes().to_vec()))
|
||||
Ok(Path::new(CStr::from_ptr(v).to_bytes().to_vec()))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user