aboutsummaryrefslogtreecommitdiffstats
path: root/ext/socket/udpsocket.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/udpsocket.c')
-rw-r--r--ext/socket/udpsocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/udpsocket.c b/ext/socket/udpsocket.c
index 3425a50501..85b4e6a96d 100644
--- a/ext/socket/udpsocket.c
+++ b/ext/socket/udpsocket.c
@@ -231,7 +231,7 @@ udp_send(int argc, VALUE *argv, VALUE sock)
* UDPSocket#recvfrom_nonblock may raise any error corresponding to recvfrom(2) failure,
* including Errno::EWOULDBLOCK.
*
- * If the exception is Errno::EWOULDBLOCK or Errno::AGAIN,
+ * If the exception is Errno::EWOULDBLOCK or Errno::EAGAIN,
* it is extended by IO::WaitReadable.
* So IO::WaitReadable can be used to rescue the exceptions for retrying recvfrom_nonblock.
*