diff options
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3325,7 +3325,7 @@ VALUE rb_thread_local_aset(VALUE thread, ID id, VALUE val) { if (OBJ_FROZEN(thread)) { - rb_frozen_error_raise(thread, "can't modify frozen thread locals"); + rb_frozen_error_raise(thread, "can't modify frozen thread locals"); } return threadptr_local_aset(rb_thread_ptr(thread), id, val); @@ -3402,7 +3402,7 @@ rb_thread_variable_set(VALUE thread, VALUE id, VALUE val) VALUE locals; if (OBJ_FROZEN(thread)) { - rb_frozen_error_raise(thread, "can't modify frozen thread locals"); + rb_frozen_error_raise(thread, "can't modify frozen thread locals"); } locals = rb_ivar_get(thread, id_locals); |