summaryrefslogtreecommitdiffstats
path: root/ext/dl/test
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/test')
-rw-r--r--ext/dl/test/test_import.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/test/test_import.rb b/ext/dl/test/test_import.rb
index 14fb1eba6..c96c330a8 100644
--- a/ext/dl/test/test_import.rb
+++ b/ext/dl/test/test_import.rb
@@ -54,7 +54,7 @@ module DL
def test_io()
io_in,io_out = IO.pipe()
- LIBC.fprintf(DL::CPtr[io_out], "hello")
+ LIBC.fprintf(io_out, "hello")
io_out.flush()
io_out.close()
str = io_in.read()