summaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index da427ef83..5fe2d27cf 100644
--- a/io.c
+++ b/io.c
@@ -3888,7 +3888,7 @@ rb_io_extract_modeenc(VALUE *mode_p, VALUE opthash,
if (io_extract_encoding_option(opthash, &enc, &enc2)) {
if (has_enc) {
- rb_raise(rb_eArgError, "encoding sepecified twice");
+ rb_raise(rb_eArgError, "encoding specified twice");
}
}
}