summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index eaabc0a..303e291 100644
--- a/dir.c
+++ b/dir.c
@@ -3337,7 +3337,7 @@ rb_file_directory_p(void)
static VALUE
rb_dir_exists_p(VALUE obj, VALUE fname)
{
- rb_warn_deprecated("", "Dir.exist?");
+ rb_warn_deprecated("Dir.exists?", "Dir.exist?");
return rb_file_directory_p(obj, fname);
}