about summary refs log tree commit diff
path: root/src/libcore/rt
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/rt')
-rw-r--r--src/libcore/rt/uv/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/rt/uv/mod.rs b/src/libcore/rt/uv/mod.rs
index ad593058303..425c258b8fd 100644
--- a/src/libcore/rt/uv/mod.rs
+++ b/src/libcore/rt/uv/mod.rs
@@ -273,8 +273,8 @@ pub fn uv_error_to_io_error(uverr: UvError) -> IoError {
             ECONNREFUSED => ConnectionRefused,
             ECONNRESET => ConnectionReset,
             EPIPE => BrokenPipe,
-            e => {
-                rtdebug!("e %u", e as uint);
+            _ => {
+                rtdebug!("uverr.code %u", uverr.code as uint);
                 // XXX: Need to map remaining uv error types
                 OtherIoError
             }