summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/error.c b/error.c
index dab9475f6f..d6f5485933 100644
--- a/error.c
+++ b/error.c
@@ -1147,14 +1147,14 @@ rb_sys_warning(fmt, va_alist)
void
rb_load_fail(path)
- char *path;
+ const char *path;
{
rb_loaderror("%s -- %s", strerror(errno), path);
}
void
rb_error_frozen(what)
- char *what;
+ const char *what;
{
rb_raise(rb_eTypeError, "can't modify frozen %s", what);
}