summaryrefslogtreecommitdiff
path: root/ext/socket/unixserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/unixserver.c')
-rw-r--r--ext/socket/unixserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/unixserver.c b/ext/socket/unixserver.c
index a38d0cb5f5..532d951c93 100644
--- a/ext/socket/unixserver.c
+++ b/ext/socket/unixserver.c
@@ -82,7 +82,7 @@ unix_accept(VALUE sock)
* UNIXServer#accept_nonblock may raise any error corresponding to accept(2) failure,
* including Errno::EWOULDBLOCK.
*
- * If the exception is Errno::EWOULDBLOCK, Errno::AGAIN, Errno::ECONNABORTED or Errno::EPROTO,
+ * If the exception is Errno::EWOULDBLOCK, Errno::EAGAIN, Errno::ECONNABORTED or Errno::EPROTO,
* it is extended by IO::WaitReadable.
* So IO::WaitReadable can be used to rescue the exceptions for retrying accept_nonblock.
*