aboutsummaryrefslogtreecommitdiffstats
path: root/yjit.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 /yjit.c
parent87217f26f120611d009f1b178d3cc5eaf1b8b515 (diff)
downloadruby-8d242a33af19672977dcdcb8d32e9ad547bc0141.tar.gz
`rb_bug` prints a newline after the message
Diffstat (limited to 'yjit.c')
-rw-r--r--yjit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit.c b/yjit.c
index 72d01d78f4..2f8abd4567 100644
--- a/yjit.c
+++ b/yjit.c
@@ -85,7 +85,7 @@ rb_yjit_mark_executable(void *mem_block, uint32_t mem_size)
return;
}
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));
}
}