diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-05-20 14:00:14 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-05-20 21:43:30 +0900 |
commit | 8d242a33af19672977dcdcb8d32e9ad547bc0141 (patch) | |
tree | 3e15a99988ed8b084b6af40c9f94dae33a5082eb /ext/monitor | |
parent | 87217f26f120611d009f1b178d3cc5eaf1b8b515 (diff) | |
download | ruby-8d242a33af19672977dcdcb8d32e9ad547bc0141.tar.gz |
`rb_bug` prints a newline after the message
Diffstat (limited to 'ext/monitor')
-rw-r--r-- | ext/monitor/monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/monitor/monitor.c b/ext/monitor/monitor.c index 10209cf2aa..86613f6ade 100644 --- a/ext/monitor/monitor.c +++ b/ext/monitor/monitor.c @@ -102,7 +102,7 @@ monitor_exit(VALUE monitor) struct rb_monitor *mc = monitor_ptr(monitor); - if (mc->count <= 0) rb_bug("monitor_exit: count:%d\n", (int)mc->count); + if (mc->count <= 0) rb_bug("monitor_exit: count:%d", (int)mc->count); mc->count--; if (mc->count == 0) { |