aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/marshal.c b/marshal.c
index c85d59f76b..f1993a643b 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;
}