summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vm_backtrace.c2
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);
}