diff --git a/io.c b/io.c
index 58a23c9a19..e92c88117a 100644
--- a/io.c
+++ b/io.c
@@ -3850,10 +3850,10 @@ rb_io_syswrite(VALUE io, VALUE str)
/*
* call-seq:
- * ios.sysread(integer[, outbuf]) -> string
+ * ios.sysread(maxlen[, outbuf]) -> string
*
- * Reads integer bytes from ios using a low-level
- * read and returns them as a string. Do not mix with other methods
+ * Reads maxlen bytes from ios using a low-level
+ * read and returns them as a string. Do not mix with other methods
* that read from ios or you may get unpredictable results.
* If the optional outbuf argument is present, it must reference
* a String, which will receive the data.