summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
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 b021e2e337..432a91d331 100644
--- a/thread.c
+++ b/thread.c
@@ -490,7 +490,7 @@ thread_initialize(VALUE thread, VALUE args)
rb_raise(rb_eThreadError, "already initialized thread - %s",
file);
}
- rb_raise(rb_eThreadError, "already initialized thread - %s:%d",
+ rb_raise(rb_eThreadError, "already initialized thread - %s:%ld",
file, NUM2INT(line));
}
return thread_create_core(thread, args, 0);