summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-05 07:43:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-05 07:43:08 +0000
commit360a674fe5ae9f03a8ef4c1a425808069b8a9510 (patch)
tree495d1f4c9f0eb9b26f4fc015abb218f2e07fb4db /thread.c
parent430f5a1d61a1dae175f1e29840f7e7a91c1eaf1c (diff)
* thread.c (thread_initialize): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 8d7d538328..a0ff595446 100644
--- a/thread.c
+++ b/thread.c
@@ -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);