summaryrefslogtreecommitdiff
path: root/ext/io/console/console.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-13 14:51:25 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-13 14:51:25 +0000
commit57ed1e9d75360713c3d5d75c4cbb05ea48c8b025 (patch)
tree9321e26d8a5428e277e71636b0b8f8943e5fdc38 /ext/io/console/console.c
parentce90fcdbbd53f002e86a50be3b61a72df3588ca0 (diff)
* ext/io/console/console.c (console_dev): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/io/console/console.c')
-rw-r--r--ext/io/console/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c
index 635c2afc9b..f83f81a917 100644
--- a/ext/io/console/console.c
+++ b/ext/io/console/console.c
@@ -587,7 +587,7 @@ console_dev(VALUE klass)
fptr->f2 = ofptr->f;
ofptr->f = 0;
# endif
- optr->mode |= FMODE_SYNC;
+ ofptr->mode |= FMODE_SYNC;
#endif
fptr->mode |= FMODE_SYNC;
rb_const_set(klass, id_console, con);