about summary refs log tree commit diff
path: root/src/rt/rust_upcall.cpp
diff options
context:
space:
mode:
authorEric Holk <eholk@mozilla.com>2011-06-28 14:21:31 -0700
committerGraydon Hoare <graydon@mozilla.com>2011-06-28 16:12:34 -0700
commit866ee6ecb42e35d18bdbd89e63c45c1ccb38540b (patch)
tree6fe7285dac82706012f7c4a1f0908a6feb8871de /src/rt/rust_upcall.cpp
parentf6f8a06d6bf010b8d30c23786976792cccfbd6de (diff)
downloadrust-866ee6ecb42e35d18bdbd89e63c45c1ccb38540b.tar.gz
rust-866ee6ecb42e35d18bdbd89e63c45c1ccb38540b.zip
Re-enabling some tests.
Diffstat (limited to 'src/rt/rust_upcall.cpp')
-rw-r--r--src/rt/rust_upcall.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp
index 18d9f4c1e8c..f6257470b29 100644
--- a/src/rt/rust_upcall.cpp
+++ b/src/rt/rust_upcall.cpp
@@ -355,11 +355,11 @@ upcall_new_str(rust_task *task, char const *s, size_t fill) {
 }
 
 extern "C" CDECL rust_str *
-upcall_dup_str(rust_task *task, rust_str *str) {
+upcall_dup_str(rust_task *task, rust_task *target, rust_str *str) {
     LOG_UPCALL_ENTRY(task);
     scoped_lock with(task->kernel->scheduler_lock);
 
-    return make_str(task, (char const *)str->data, str->fill);
+    return make_str(target, (char const *)str->data, str->fill);
 }
 
 extern "C" CDECL rust_vec *