vm_insnhelper.c: fix -Wformat-security on rb_bug
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c2bfb4e93c
commit
30011cbb7a
@ -3929,7 +3929,7 @@ vm_canary_is_found_dead(enum ruby_vminsn_type i, VALUE c)
|
|||||||
VALUE message = rb_sprintf("dead canary found at %s: %s", insn, str);
|
VALUE message = rb_sprintf("dead canary found at %s: %s", insn, str);
|
||||||
const char *msg = StringValueCStr(message);
|
const char *msg = StringValueCStr(message);
|
||||||
|
|
||||||
rb_bug(msg);
|
rb_bug("%s", msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif !defined(MJIT_HEADER)
|
#elif !defined(MJIT_HEADER)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user