about summary refs log tree commit diff
path: root/src/libstd/rt/uv/async.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/rt/uv/async.rs')
-rw-r--r--src/libstd/rt/uv/async.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/uv/async.rs b/src/libstd/rt/uv/async.rs
index d0ca38317cb..ff7bb9dd03a 100644
--- a/src/libstd/rt/uv/async.rs
+++ b/src/libstd/rt/uv/async.rs
@@ -34,7 +34,7 @@ impl AsyncWatcher {
 
         extern fn async_cb(handle: *uvll::uv_async_t, status: c_int) {
             let mut watcher: AsyncWatcher = NativeHandle::from_native_handle(handle);
-            let status = status_to_maybe_uv_error(watcher, status);
+            let status = status_to_maybe_uv_error(status);
             let data = watcher.get_watcher_data();
             let cb = data.async_cb.get_ref();
             (*cb)(watcher, status);