diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-30 12:03:23 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-30 12:03:23 -0800 |
| commit | f8b3d5c2dbf8eced6a876269574afb3075b768ec (patch) | |
| tree | 38b632322f3c765a42b00512b097ce08ccd67808 /src/libstd | |
| parent | c0705c1f8189790207b6d53014cafd7ba3f62add (diff) | |
| parent | ca0e83cdeca6c0fc43d8e8017174e6531da4406e (diff) | |
| download | rust-f8b3d5c2dbf8eced6a876269574afb3075b768ec.tar.gz rust-f8b3d5c2dbf8eced6a876269574afb3075b768ec.zip | |
rollup merge of #21733: mneumann/fix-io-rename-df
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/sys/unix/os.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/unix/os.rs b/src/libstd/sys/unix/os.rs index 5d5cda03f01..dd343baa7c9 100644 --- a/src/libstd/sys/unix/os.rs +++ b/src/libstd/sys/unix/os.rs @@ -196,7 +196,7 @@ pub fn load_self() -> Option<Vec<u8>> { #[cfg(target_os = "dragonfly")] pub fn load_self() -> Option<Vec<u8>> { - use std::io; + use old_io; match old_io::fs::readlink(&Path::new("/proc/curproc/file")) { Ok(path) => Some(path.into_vec()), |
