summaryrefslogtreecommitdiff
path: root/vm_dump.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-15 12:03:42 (GMT)
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-15 12:03:42 (GMT)
commit743ab3c78371f399e10bd36abbe5de7fff9bf71f (patch)
treecb2b01fab7979195847e826925e91b4e2d7cac91 /vm_dump.c
parentdd3b3dd0f33ebd46c5f1104202e30ce8bf5f4bc0 (diff)
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 c5fa48e..79bb20c 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.