summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index f97452941b..9633e9e252 100644
--- a/error.c
+++ b/error.c
@@ -1258,7 +1258,7 @@ Init_syserr(void)
#undef undefined_error
}
-char *
+const char *
rb_strerrno(int err)
{
if (err == 0) return "NOERROR";