aboutsummaryrefslogtreecommitdiffstats
path: root/vm_trace.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-05-20 14:00:14 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-05-20 21:43:30 +0900
commit8d242a33af19672977dcdcb8d32e9ad547bc0141 (patch)
tree3e15a99988ed8b084b6af40c9f94dae33a5082eb /vm_trace.c
parent87217f26f120611d009f1b178d3cc5eaf1b8b515 (diff)
downloadruby-8d242a33af19672977dcdcb8d32e9ad547bc0141.tar.gz
`rb_bug` prints a newline after the message
Diffstat (limited to 'vm_trace.c')
-rw-r--r--vm_trace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_trace.c b/vm_trace.c
index 16242e6725..e4d0f25112 100644
--- a/vm_trace.c
+++ b/vm_trace.c
@@ -1713,7 +1713,7 @@ rb_postponed_job_register(unsigned int flags, rb_postponed_job_func_t func, void
case PJRR_SUCCESS : return 1;
case PJRR_FULL : return 0;
case PJRR_INTERRUPTED: goto begin;
- default: rb_bug("unreachable\n");
+ default: rb_bug("unreachable");
}
}
@@ -1742,7 +1742,7 @@ rb_postponed_job_register_one(unsigned int flags, rb_postponed_job_func_t func,
case PJRR_SUCCESS : return 1;
case PJRR_FULL : return 0;
case PJRR_INTERRUPTED: goto begin;
- default: rb_bug("unreachable\n");
+ default: rb_bug("unreachable");
}
}