From 22bd1540a957021dfa17eb16efe1bf03ae1e1790 Mon Sep 17 00:00:00 2001 From: Nick Howard Date: Sun, 11 Dec 2011 16:51:32 -0700 Subject: [PATCH] fix small typo in stringio.co --- ext/stringio/stringio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/stringio/stringio.c b/ext/stringio/stringio.c index 5aa2d27ef3c4a6..ad18644a43a5a6 100644 --- a/ext/stringio/stringio.c +++ b/ext/stringio/stringio.c @@ -1341,7 +1341,7 @@ strio_truncate(VALUE self, VALUE len) long l = NUM2LONG(len); long plen = RSTRING_LEN(string); if (l < 0) { - error_inval("negative legnth"); + error_inval("negative length"); } rb_str_resize(string, l); if (plen < l) {