summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index 93f4889958..825f371a40 100644
--- a/dir.c
+++ b/dir.c
@@ -591,7 +591,7 @@ dir_s_close(rb_execution_context_t *ec, VALUE klass, VALUE dir)
# if defined(HAVE_FDOPENDIR) && defined(HAVE_DIRFD)
/*
* call-seq:
- * Dir.fdopendir(integer) -> aDir
+ * Dir.for_fd(integer) -> aDir
*
* Returns a Dir representing the directory specified by the given
* directory file descriptor. Note that the returned Dir will not