summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-29 04:33:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-29 04:33:17 +0000
commit5e4d04c36e33dc23a06cd6e5b53f5e7bef4394f7 (patch)
tree1cbbe1b764996342c80449886460d86074e5d857 /vm_method.c
parent00be97da7e260f3d801fe64c01c13dd820f6b1a8 (diff)
* vm_method.c (rb_method_entry_eq): fixed a message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c
index 637e75df15..3eef4449df 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -819,7 +819,7 @@ rb_method_entry_eq(const rb_method_entry_t *m1, const rb_method_entry_t *m2)
case VM_METHOD_TYPE_OPTIMIZED:
return d1->body.optimize_type == d2->body.optimize_type;
default:
- rb_bug("rb_add_method: unsupported method type (%d)\n", d1->type);
+ rb_bug("rb_method_entry_eq: unsupported method type (%d)\n", d1->type);
return 0;
}
}