Fix Redox build, broken in ecbb896b9eb2acadefde57be493e4298c1aa04a3

This commit is contained in:
Ian Douglas Scott 2017-06-22 19:14:26 -07:00
parent bd62230fbd
commit 87f6d6249c
No known key found for this signature in database
GPG Key ID: 4924E10E199B5959
2 changed files with 2 additions and 3 deletions

View File

@ -17,7 +17,6 @@ use sys::fs::{File, OpenOptions};
use sys::syscall::TimeSpec;
use sys_common::{AsInner, FromInner, IntoInner};
use time::Duration;
use vec::Vec;
use super::{path_to_peer_addr, path_to_local_addr};

View File

@ -49,8 +49,8 @@ pub fn read2(p1: AnonPipe,
//FIXME: Use event based I/O multiplexing
//unimplemented!()
p1.read_to_end(v1)?;
p2.read_to_end(v2)?;
p1.0.read_to_end(v1)?;
p2.0.read_to_end(v2)?;
Ok(())