aboutsummaryrefslogtreecommitdiffstats
path: root/ext/pty
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-19 05:29:21 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-19 05:29:21 +0000
commit14b6c36adfef3800e9fb23d8a56d114e3d769782 (patch)
tree33800b2404eb609208a508d07045a51ef0abe900 /ext/pty
parentd34b3118e0f0009cc4d961abc1610f81d6079447 (diff)
downloadruby-14b6c36adfef3800e9fb23d8a56d114e3d769782.tar.gz
pty.c: fix example typo [ci skip]
* ext/pty/pty.c: [DOC] fix example typo, an old name at move from PTY.open. [Fix GH-972] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51297 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 16aaf9d149..34421f288b 100644
--- a/ext/pty/pty.c
+++ b/ext/pty/pty.c
@@ -733,7 +733,7 @@ static VALUE cPTY;
* # The result of read operation when pty slave is closed is platform
* # dependent.
* ret = begin
- * m.gets # FreeBSD returns nil.
+ * master.gets # FreeBSD returns nil.
* rescue Errno::EIO # GNU/Linux raises EIO.
* nil
* end