summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-03 17:46:28 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-03 17:46:28 +0000
commitb9e0294edaceecb177401902f3809a45af666d7e (patch)
tree6c83191a7891bfb4449e4c61bcf944ae968319b7 /signal.c
parentc30e32d075478c62580c7d3f5699c2c477503b41 (diff)
fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/signal.c b/signal.c
index cbeb6c5fe5..a2fce05d0e 100644
--- a/signal.c
+++ b/signal.c
@@ -330,7 +330,7 @@ ruby_default_signal(int sig)
* If _signal_ is an integer but wrong for signal,
* <code>Errno::EINVAL</code> or +RangeError+ will be raised.
* Otherwise unless _signal_ is a +String+ or a +Symbol+, and a known
- * sinal name, +ArgumentError+ will be raised.
+ * signal name, +ArgumentError+ will be raised.
*
* Also, <code>Errno::ESRCH</code> or +RangeError+ for invalid _pid_,
* <code>Errno::EPERM</code> when failed because of no privilege,
@@ -606,7 +606,7 @@ sigsegv(int sig SIGINFO_ARG)
}
#endif
if (segv_received) {
- fprintf(stderr, "SEGV recieved in SEGV handler\n");
+ fprintf(stderr, "SEGV received in SEGV handler\n");
exit(EXIT_FAILURE);
}
else {