summaryrefslogtreecommitdiff
path: root/ext/pty
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-02 17:05:46 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-02 17:05:46 +0000
commit0646c1e0d6fbb414203948ace6485428d28b5bea (patch)
tree1441372bd10a67ba6d7e7ee58831b0385c17d139 /ext/pty
parent852b4629c16a2a568c075d0645fee58b95788610 (diff)
* ext/pty/pty.c (Init_pty): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pty')
-rw-r--r--ext/pty/pty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pty/pty.c b/ext/pty/pty.c
index f0b8e66595..46278991a3 100644
--- a/ext/pty/pty.c
+++ b/ext/pty/pty.c
@@ -438,7 +438,7 @@ Init_pty()
cPTY = rb_define_module("PTY");
rb_define_module_function(cPTY,"getpty",pty_getpty,-1);
rb_define_module_function(cPTY,"spawn",pty_getpty,-1);
- rb_define_singleton_function(cPTY,"check",pty_check,-1);
+ rb_define_singleton_method(cPTY,"check",pty_check,-1);
eChildExited = rb_define_class_under(cPTY,"ChildExited",rb_eRuntimeError);
rb_define_method(eChildExited,"status",echild_status,0);