aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-10 13:50:14 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-10 13:50:14 +0000
commitf099b0a38d3a99dd42845b75695247be9731ac11 (patch)
tree7ded761434a5790cd8c3d8fb856f415cd4220321
parentf6e203441a956d652341f356cae5f61f5d66ff8f (diff)
downloadruby-f099b0a38d3a99dd42845b75695247be9731ac11.tar.gz
Fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--vm_backtrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_backtrace.c b/vm_backtrace.c
index fd34081..fa9295d 100644
--- a/vm_backtrace.c
+++ b/vm_backtrace.c
@@ -32,7 +32,7 @@ inline static int
calc_lineno(const rb_iseq_t *iseq, const VALUE *pc)
{
size_t pos = (size_t)(pc - iseq->body->iseq_encoded);
- /* use pos-1 because PC points next instruction at the beggining of instruction */
+ /* use pos-1 because PC points next instruction at the beginning of instruction */
return rb_iseq_line_no(iseq, pos - 1);
}