aboutsummaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2023-03-31 18:15:04 +0900
committerKoichi Sasada <ko1@atdot.net>2023-03-31 18:15:04 +0900
commit4c0f82eb5b13e436a93497eaf23d965efa35a39e (patch)
treee46dee2ee44d5f0ef8948864fd73a8795dd31f96 /thread.c
parentad7362db074e3dfe7c5d62b42edbef87c25eb24c (diff)
downloadruby-4c0f82eb5b13e436a93497eaf23d965efa35a39e.tar.gz
remove "\n" for `RUBY_DEBUG_LOG()`
because `RUBY_DEBUG_LOG()` add "\n" at the end of message.
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 57bd2e0d9c..f5a6f9e34b 100644
--- a/thread.c
+++ b/thread.c
@@ -2321,7 +2321,7 @@ rb_threadptr_execute_interrupts(rb_thread_t *th, int blocking_timing)
/* exception from another thread */
if (pending_interrupt && threadptr_pending_interrupt_active_p(th)) {
VALUE err = rb_threadptr_pending_interrupt_deque(th, blocking_timing ? INTERRUPT_ON_BLOCKING : INTERRUPT_NONE);
- RUBY_DEBUG_LOG("err:%"PRIdVALUE"\n", err);
+ RUBY_DEBUG_LOG("err:%"PRIdVALUE, err);
ret = TRUE;
if (UNDEF_P(err)) {