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 /rjit_c.c | |
parent | 87217f26f120611d009f1b178d3cc5eaf1b8b515 (diff) |
`rb_bug` prints a newline after the message
Diffstat (limited to 'rjit_c.c')
-rw-r--r-- | rjit_c.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |