summaryrefslogtreecommitdiff
path: root/pack.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-01-20 00:20:27 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-01-20 00:20:27 +0900
commitf36178006b99fd121e7936968d210e570f8d99d0 (patch)
tree2e3c1770b2b4ea2471c13e178196aec94cb2e00f /pack.c
parentdcc676a86e5fd882a5ed2e5345898e645ccea946 (diff)
downloadruby-f36178006b99fd121e7936968d210e570f8d99d0.tar.gz
Fix a typo in BUG message [ci skip]
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 f9b1293c37..d5b78b6060 100644
--- a/pack.c
+++ b/pack.c
@@ -537,7 +537,7 @@ pack_pack(rb_execution_context_t *ec, VALUE ary, VALUE fmt, VALUE buffer)
bigendian_p = explicit_endian == '>';
}
if (integer_size > MAX_INTEGER_PACK_SIZE)
- rb_bug("unexpected intger size for pack: %d", integer_size);
+ rb_bug("unexpected integer size for pack: %d", integer_size);
while (len-- > 0) {
char intbuf[MAX_INTEGER_PACK_SIZE];