summaryrefslogtreecommitdiff
path: root/rjit_c.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 /rjit_c.c
parent87217f26f120611d009f1b178d3cc5eaf1b8b515 (diff)
`rb_bug` prints a newline after the message
Diffstat (limited to 'rjit_c.c')
-rw-r--r--rjit_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rjit_c.c b/rjit_c.c
index 414518db1e..bdc9ce8072 100644
--- a/rjit_c.c
+++ b/rjit_c.c
@@ -151,7 +151,7 @@ mprotect_exec(rb_execution_context_t *ec, VALUE self, VALUE rb_mem_block, VALUE
if (mem_size == 0) return Qfalse; // Some platforms return an error for mem_size 0.
if (mprotect(mem_block, mem_size, PROT_READ | PROT_EXEC)) {
- rb_bug("Couldn't make JIT page (%p, %lu bytes) executable, errno: %s\n",
+ rb_bug("Couldn't make JIT page (%p, %lu bytes) executable, errno: %s",
mem_block, (unsigned long)mem_size, strerror(errno));
}
return Qtrue;