summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-09 13:03:45 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-09 13:03:45 +0000
commitd395be138c0661c38f903017c365a30c561c8548 (patch)
treeef8794b2b0c9c7169d465501b974d3ee4ea3588f /bignum.c
parent9cb1452318a311af3937356ba7e5fc00c4aefc3d (diff)
Update an error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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);