summaryrefslogtreecommitdiffstats
path: root/sprintf.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-31 09:06:45 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-31 09:06:45 +0000
commit11af38a6fdf4e89ef73b642590872b97b798a339 (patch)
tree7587107ffdf9529904fcb9d4161d694e3bad1609 /sprintf.c
parent67803b69e9cd28aed4058928e09d79d4adf89466 (diff)
downloadruby-11af38a6fdf4e89ef73b642590872b97b798a339.tar.gz
ruby-11af38a6fdf4e89ef73b642590872b97b798a339.tar.xz
ruby-11af38a6fdf4e89ef73b642590872b97b798a339.zip
fix a typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sprintf.c')
-rw-r--r--sprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sprintf.c b/sprintf.c
index 4d09d7445..790233585 100644
--- a/sprintf.c
+++ b/sprintf.c
@@ -837,7 +837,7 @@ rb_str_format(int argc, const VALUE *argv, VALUE fmt)
}
sprint_exit:
- /* XXX - We cannot validiate the number of arguments if (digit)$ style used.
+ /* XXX - We cannot validate the number of arguments if (digit)$ style used.
*/
if (posarg >= 0 && nextarg < argc) {
const char *mesg = "too many arguments for format string";