aboutsummaryrefslogtreecommitdiffstats
path: root/bignum.c
diff options
context:
space:
mode:
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bignum.c b/bignum.c
index ae91f46ad0..cbdfa3a6a2 100644
--- a/bignum.c
+++ b/bignum.c
@@ -772,7 +772,7 @@ rb_integer_pack(VALUE val, int *signp, void *words, size_t numwords, size_t word
validate_integer_pack_format(wordsize, nails, flags);
if (SIZE_MAX / wordsize < numwords)
- rb_raise(rb_eArgError, "too big count * wordsize: %"PRI_SIZE_PREFIX"u * %"PRI_SIZE_PREFIX"u", numwords, wordsize);
+ rb_raise(rb_eArgError, "too big numwords * wordsize: %"PRI_SIZE_PREFIX"u * %"PRI_SIZE_PREFIX"u", numwords, wordsize);
if (FIXNUM_P(val)) {
long v = FIX2LONG(val);