diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-05 07:43:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-05 07:43:08 +0000 |
commit | 36d9fbafe2996e9ba00d4fa8d826cf8aede69a9d (patch) | |
tree | 495d1f4c9f0eb9b26f4fc015abb218f2e07fb4db | |
parent | daa848f65a5ff225fdf68d98622047a25aec3837 (diff) | |
download | ruby-36d9fbafe2996e9ba00d4fa8d826cf8aede69a9d.tar.gz ruby-36d9fbafe2996e9ba00d4fa8d826cf8aede69a9d.tar.xz ruby-36d9fbafe2996e9ba00d4fa8d826cf8aede69a9d.zip |
* thread.c (thread_initialize): fixed typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -438,7 +438,7 @@ thread_initialize(VALUE thread, VALUE args) if (!proc || !RTEST(loc = rb_proc_location(proc))) { rb_raise(rb_eThreadError, "already initialized thread"); } - fn = RSTRING_PTR(RARRAY_PTR(loc)[0]); + file = RSTRING_PTR(RARRAY_PTR(loc)[0]); if (NIL_P(line = RARRAY_PTR(loc)[1])) { rb_raise(rb_eThreadError, "already initialized thread - %s", file); |