summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-24 23:46:39 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-24 23:46:39 +0000
commit9594c893f7c5940bbd4e08044eef6ff94ef27a97 (patch)
tree75c68b7bc02af5524666a8e48f868c113d496c24 /file.c
parent6dd9388545183868ac08ab2dad7b3d4c4a4b07e4 (diff)
rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-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
* }