From f099b0a38d3a99dd42845b75695247be9731ac11 Mon Sep 17 00:00:00 2001 From: kazu Date: Fri, 10 Nov 2017 13:50:14 +0000 Subject: Fix a typo [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_backtrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3