about summary refs log tree commit diff
path: root/src/libstd/sys/unix/process2.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-04-09 17:42:22 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-04-14 10:14:11 -0700
commitbf4e77d4b543632ca4df8fdd7092850dffc3954b (patch)
treec4b56d2a5974e1b3bf4bfc8b7ca1a62d64c2c341 /src/libstd/sys/unix/process2.rs
parentdabf0c6371d3b193664f58746fa27c1835a010f3 (diff)
std: Remove old_io/old_path/rand modules
This commit entirely removes the old I/O, path, and rand modules. All
functionality has been deprecated and unstable for quite some time now!
Diffstat (limited to 'src/libstd/sys/unix/process2.rs')
-rw-r--r--src/libstd/sys/unix/process2.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/unix/process2.rs b/src/libstd/sys/unix/process2.rs
index 0b4e871454d..caa7b4eb29c 100644
--- a/src/libstd/sys/unix/process2.rs
+++ b/src/libstd/sys/unix/process2.rs
@@ -328,8 +328,8 @@ impl Process {
         }) {
             n if n == self.pid => Some(translate_status(status)),
             0 => None,
-            n => panic!("unknown waitpid error `{:?}`: {:?}", n,
-                       super::last_error()),
+            n => panic!("unknown waitpid error `{}`: {}", n,
+                       io::Error::last_os_error()),
         }
     }
 }