summaryrefslogtreecommitdiff
path: root/pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'pack.c')
-rw-r--r--pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack.c b/pack.c
index 6df527605a..fd5245a618 100644
--- a/pack.c
+++ b/pack.c
@@ -1857,7 +1857,7 @@ uv_to_utf8(buf, uv)
buf[5] = (uv&0x3f)|0x80;
return 6;
}
- rb_raise(rb_eArgError, "uv_to_utf8(); too big value");
+ rb_raise(rb_eArgError, "uv_to_utf8(); value out of range");
}
static const long utf8_limits[] = {