summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-13 21:24:01 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-13 21:24:01 +0000
commit9d7573c41a33f7759ea62b7f0d273bdcd90f2171 (patch)
tree78505778bc5371b5d03b51355103a8b582bc97cc /process.c
parenta63b86e2a8e18cef7406ad0c1b404dce1aa60ccc (diff)
* process.c (proc_wait): Change typo "SystemError" to
"SystemCallError". [ruby-trunk - Bug #5962] * process.c (proc_wait2): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/process.c b/process.c
index 3e135ef69a..027e4e6ed4 100644
--- a/process.c
+++ b/process.c
@@ -750,8 +750,8 @@ rb_waitpid(rb_pid_t pid, int *st, int flags)
* haven't been reported). Not all flags are available on all
* platforms, but a flag value of zero will work on all platforms.
*
- * Calling this method raises a <code>SystemError</code> if there are
- * no child processes. Not available on all platforms.
+ * Calling this method raises a SystemCallError if there are no child
+ * processes. Not available on all platforms.
*
* include Process
* fork { exit 99 } #=> 27429
@@ -803,8 +803,7 @@ proc_wait(int argc, VALUE *argv)
* Waits for a child process to exit (see Process::waitpid for exact
* semantics) and returns an array containing the process id and the
* exit status (a <code>Process::Status</code> object) of that
- * child. Raises a <code>SystemError</code> if there are no child
- * processes.
+ * child. Raises a SystemCallError if there are no child processes.
*
* Process.fork { exit 99 } #=> 27437
* pid, status = Process.wait2