Skip to content
Snippets Groups Projects
Commit 9c57cefc authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Fix Redox build

parent f0486f80
No related branches found
No related tags found
No related merge requests found
......@@ -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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment