Skip to content
Permalink
Browse files

Fix Redox build

  • Loading branch information...
jackpot51 committed Dec 27, 2017
1 parent f0486f8 commit 9c57cefcd11d994f6a3674ed13b9a8a02816b5fe
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/lib/sys/redox.rs
@@ -41,7 +41,7 @@ pub fn wait_for_child(pid: u32) -> io::Result<u8> {
loop {
status = 0;
match unsafe { waitpid(pid as usize, &mut status, 0) } {
Err(error) if error.errno == ECHILD => break,
Err(ref error) if error.errno == ECHILD => break,
Err(error) => return Err(io::Error::from_raw_os_error(error.errno)),
_ => ()
}

0 comments on commit 9c57cef

Please sign in to comment.
You can’t perform that action at this time.