summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-16 05:36:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-16 05:36:54 +0000
commit9fdd4727b1cb4bb03c6a76b9b20ea7b6be33e294 (patch)
tree2cee05c5fe8a7dce27ee0d81a97b8f824a39f60b
parent45fd1b7b39dde7fb7816548b8580232100404275 (diff)
downloadruby-9fdd4727b1cb4bb03c6a76b9b20ea7b6be33e294.tar.gz
ruby-9fdd4727b1cb4bb03c6a76b9b20ea7b6be33e294.tar.xz
ruby-9fdd4727b1cb4bb03c6a76b9b20ea7b6be33e294.zip
* marshal.c (class2path): fix typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/marshal.c b/marshal.c
index c85d59f76..f1993a643 100644
--- a/marshal.c
+++ b/marshal.c
@@ -106,7 +106,7 @@ class2path(klass)
char *n = RSTRING(path)->ptr;
if (rb_path2class(n) != klass) {
- rb_raise(rb_eArgError, "%s cannot be referfed", n);
+ rb_raise(rb_eArgError, "%s cannot be referred", n);
}
return path;
}