aboutsummaryrefslogtreecommitdiffstats
path: root/safe.c
diff options
context:
space:
mode:
Diffstat (limited to 'safe.c')
-rw-r--r--safe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/safe.c b/safe.c
index 7f3a412686..d790156c03 100644
--- a/safe.c
+++ b/safe.c
@@ -110,8 +110,8 @@ rb_insecure_operation(void)
{
ID caller_name = rb_frame_callee();
if (caller_name) {
- rb_raise(rb_eSecurityError, "Insecure operation - %s",
- rb_id2name(caller_name));
+ rb_raise(rb_eSecurityError, "Insecure operation - %"PRIsVALUE,
+ rb_id2str(caller_name));
}
else {
rb_raise(rb_eSecurityError, "Insecure operation: -r");