summaryrefslogtreecommitdiff
path: root/sprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sprintf.c')
-rw-r--r--sprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sprintf.c b/sprintf.c
index c3e2639626..936a3d1960 100644
--- a/sprintf.c
+++ b/sprintf.c
@@ -589,7 +589,7 @@ rb_f_sprintf(argc, argv)
}
sprint_exit:
- if (RTEST(rb_verbose) && argc > 1) {
+ if (RTEST(ruby_verbose) && argc > 1) {
rb_raise(rb_eArgError, "too many argument for format string");
}
result = rb_str_new(buf, blen);