fix typo.

This commit is contained in:
Tomoyuki Sahara
2015-10-20 15:16:46 +09:00
parent 78fe65aec4
commit cac0035348
+1 -1
View File
@@ -535,7 +535,7 @@ mrb_io_sysseek(mrb_state *mrb, mrb_value io)
fptr = (struct mrb_io *)mrb_get_datatype(mrb, io, &mrb_io_type);
pos = lseek(fptr->fd, offset, whence);
if (pos < 0) {
mrb_raise(mrb, E_IO_ERROR, "sysseek faield");
mrb_raise(mrb, E_IO_ERROR, "sysseek failed");
}
return mrb_fixnum_value(pos);