Skip to content

Commit 082bf7f

Browse files
committed
unbreak openbsd build after 1860ee5
The commit 1860ee5 has break the openbsd build. Repair it.
1 parent 522d09d commit 082bf7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/unix/os.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ pub fn current_exe() -> IoResult<Path> {
211211
if v.is_null() {
212212
Err(IoError::last_error())
213213
} else {
214-
Ok(Path::new(CStr::from_ptr(&v).to_bytes().to_vec()))
214+
Ok(Path::new(CStr::from_ptr(v).to_bytes().to_vec()))
215215
}
216216
}
217217
}

0 commit comments

Comments
 (0)