diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-10 13:50:14 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-10 13:50:14 +0000 |
commit | 7dae8797700dcf34e49269d98d904b96cd43f48b (patch) | |
tree | 7ded761434a5790cd8c3d8fb856f415cd4220321 /vm_backtrace.c | |
parent | 139eb4e8629c0dd0b3d2d5a519c142a5ddaec22b (diff) |
Fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_backtrace.c')
-rw-r--r-- | vm_backtrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_backtrace.c b/vm_backtrace.c index fd34081667..fa9295daab 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); } |