diff options
-rw-r--r-- | test/sys/test_uio.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sys/test_uio.rs b/test/sys/test_uio.rs index a2b68d07..76597790 100644 --- a/test/sys/test_uio.rs +++ b/test/sys/test_uio.rs @@ -212,7 +212,7 @@ fn test_process_vm_readv() { Ok(Parent { child }) => { close(w).unwrap(); // wait for child - read(r, &mut vec![0u8]).unwrap(); + read(r, &mut [0u8]).unwrap(); close(r).unwrap(); let ptr = vector.as_ptr() as usize; |