diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-05-20 14:00:14 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2023-05-20 21:43:30 +0900 |
commit | 8d242a33af19672977dcdcb8d32e9ad547bc0141 (patch) | |
tree | 3e15a99988ed8b084b6af40c9f94dae33a5082eb /thread_pthread.c | |
parent | 87217f26f120611d009f1b178d3cc5eaf1b8b515 (diff) |
`rb_bug` prints a newline after the message
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index d9af238c88..3bb6b3d980 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -1869,7 +1869,7 @@ ubf_timer_create(rb_serial_t fork_gen) rb_atomic_t prev = timer_state_exchange(RTIMER_DISARM); if (prev != RTIMER_DEAD) { - rb_bug("timer_posix was not dead: %u\n", (unsigned)prev); + rb_bug("timer_posix was not dead: %u", (unsigned)prev); } timer_posix.fork_gen = fork_gen; } @@ -1931,7 +1931,7 @@ ubf_timer_disarm(void) return; case RTIMER_DEAD: return; /* stay dead */ default: - rb_bug("UBF_TIMER_POSIX bad state: %u\n", (unsigned)prev); + rb_bug("UBF_TIMER_POSIX bad state: %u", (unsigned)prev); } #elif UBF_TIMER == UBF_TIMER_PTHREAD |