Skip to content

Commit

Permalink
Fix unresolved name in libstd/sys/unix/thread
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaksalyar committed Jan 31, 2016
1 parent e5da5d5 commit bb6e646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/unix/thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ pub mod guard {

#[cfg(target_os = "solaris")]
pub unsafe fn current() -> Option<usize> {
let mut current_stack: libc::stack_t = mem::zeroed();
let mut current_stack: libc::stack_t = ::mem::zeroed();
assert_eq!(libc::stack_getbounds(&mut current_stack), 0);
Some(current_stack.ss_sp as usize)
}
Expand Down

0 comments on commit bb6e646

Please sign in to comment.