summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 0e3a2d209f..83bb74e322 100644
--- a/file.c
+++ b/file.c
@@ -3511,7 +3511,7 @@ rb_thread_flock(void *data)
* }
*
* # read the counter using read lock
- * File.open("testfile", "r") {|f|
+ * File.open("counter", "r") {|f|
* f.flock(File::LOCK_SH)
* p f.read
* }