diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-09-11 10:58:33 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-09-11 10:58:33 +0000 |
commit | 30011cbb7af1606de08802facdaadee03edf589a (patch) | |
tree | e1a3df845bf25aed89cd80803fd7d2420982b24b /vm_insnhelper.c | |
parent | c2bfb4e93c674347b7eb09a30856e3d75f74cf4d (diff) |
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
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 702e22291b..c4018f8f2e 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -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); const char *msg = StringValueCStr(message); - rb_bug(msg); + rb_bug("%s", msg); } #elif !defined(MJIT_HEADER) |