* marshal.c (class2path): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ea339864af
commit
10b86da1b1
@ -106,7 +106,7 @@ class2path(klass)
|
|||||||
char *n = RSTRING(path)->ptr;
|
char *n = RSTRING(path)->ptr;
|
||||||
|
|
||||||
if (rb_path2class(n) != klass) {
|
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;
|
return path;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user