summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ruby.c b/ruby.c
index 763697b2f9..9e167f6170 100644
--- a/ruby.c
+++ b/ruby.c
@@ -726,7 +726,7 @@ proc_options(argc, argv)
}
if (!*s) break;
if (!strchr("IdvwrK", *s))
- rb_raise(rb_eRuntimeError, "Illegal switch in RUBYOPT: -%c", *s);
+ rb_raise(rb_eRuntimeError, "illegal switch in RUBYOPT: -%c", *s);
s = moreswitches(s);
}
}
@@ -853,7 +853,7 @@ load_file(fname, script)
}
}
}
- rb_raise(rb_eLoadError, "No Ruby script found in input");
+ rb_raise(rb_eLoadError, "no Ruby script found in input");
}
c = rb_io_getc(f);
@@ -1046,11 +1046,11 @@ forbid_setid(s)
const char *s;
{
if (euid != uid)
- rb_raise(rb_eSecurityError, "No %s allowed while running setuid", s);
+ rb_raise(rb_eSecurityError, "no %s allowed while running setuid", s);
if (egid != gid)
- rb_raise(rb_eSecurityError, "No %s allowed while running setgid", s);
+ rb_raise(rb_eSecurityError, "no %s allowed while running setgid", s);
if (rb_safe_level() > 0)
- rb_raise(rb_eSecurityError, "No %s allowed in tainted mode", s);
+ rb_raise(rb_eSecurityError, "no %s allowed in tainted mode", s);
}
static void