aboutsummaryrefslogtreecommitdiffstats
path: root/vm_dump.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-15 12:03:42 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-15 12:03:42 +0000
commitea35abb8c68a2de63270018ba3579c3521a1b42c (patch)
treecb2b01fab7979195847e826925e91b4e2d7cac91 /vm_dump.c
parent2bf0461a52d5cb8fffcc6d625249d0ccc0cc3137 (diff)
downloadruby-ea35abb8c68a2de63270018ba3579c3521a1b42c.tar.gz
Fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_dump.c b/vm_dump.c
index c5fa48e76e..79bb20c253 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -466,7 +466,7 @@ darwin_sigtramp:
unw_set_reg(&cursor, UNW_X86_64_R15, uctx->uc_mcontext->__ss.__r15);
ip = uctx->uc_mcontext->__ss.__rip;
- /* There's 4 cases for SEGV:
+ /* There're 4 cases for SEGV:
* (1) called invalid address
* (2) read or write invalid address
* (3) received signal
@@ -487,7 +487,7 @@ darwin_sigtramp:
* Same as (2).
* (4) received signal in kernel
* In this case saved ip points just after syscall, but registers are
- * already overwriten by kernel. To fix register consistency,
+ * already overwritten by kernel. To fix register consistency,
* skip libc's kernel wrapper.
* To detect this case, just previous two bytes of ip is "\x0f\x05",
* syscall instruction of x86_64.