summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index f63f543d43..926cdb9160 100644
--- a/variable.c
+++ b/variable.c
@@ -256,7 +256,7 @@ rb_path2class(path)
case T_CLASS:
break;
default:
- rb_raise(rb_eTypeError, "%s does not refer class/module %d", path, TYPE(c));
+ rb_raise(rb_eTypeError, "%s does not refer class/module", path);
}
}