From 36d9fbafe2996e9ba00d4fa8d826cf8aede69a9d Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 5 Dec 2007 07:43:08 +0000 Subject: * thread.c (thread_initialize): fixed typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thread.c b/thread.c index 8d7d53832..a0ff59544 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); -- cgit