fix typo at https://github.com/ruby/ruby/pull/500 and https://github.com/ruby/ruby/pull/506
Merge pull request #180 from hsbt/fix-typo

backport ruby/ruby#500 and ruby/ruby#506