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

backport ruby/ruby#506