diff options
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -8558,9 +8558,7 @@ advice_arg_check(VALUE advice) advice != sym_willneed && advice != sym_dontneed && advice != sym_noreuse) { - VALUE symname = rb_inspect(advice); - rb_raise(rb_eNotImpError, "Unsupported advice: %s", - StringValuePtr(symname)); + rb_raise(rb_eNotImpError, "Unsupported advice: %+"PRIsVALUE, advice); } } |