summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTomoyuki Sahara <[email protected]>2014-08-08 21:34:15 +0900
committerTomoyuki Sahara <[email protected]>2014-08-08 21:34:15 +0900
commit190264b3c8730bc76dc1bc2abaee58c9ce078604 (patch)
tree77bd36a95e37484aff43e369264b760cfda5dab8
parent0761b172459199417cfe18752d1ee8b1b19ba989 (diff)
parent9a2cbc41226c801d139c430215f3f73321dc76b7 (diff)
downloadmruby-190264b3c8730bc76dc1bc2abaee58c9ce078604.tar.gz
mruby-190264b3c8730bc76dc1bc2abaee58c9ce078604.zip
Merge pull request #23 from jbreeden/master
Correcting E_NOTIMP_ERROR reference
-rw-r--r--src/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io.c b/src/io.c
index bcf5c8f22..e6d289c65 100644
--- a/src/io.c
+++ b/src/io.c
@@ -751,7 +751,7 @@ mrb_io_close_on_exec_p(mrb_state *mrb, mrb_value io)
return mrb_true_value();
#else
- mrb_raise(mrb, E_NOTIMPL_ERROR, "IO#close_on_exec? is not supported on the platform");
+ mrb_raise(mrb, E_NOTIMP_ERROR, "IO#close_on_exec? is not supported on the platform");
return mrb_false_value();
#endif
}
@@ -791,7 +791,7 @@ mrb_io_set_close_on_exec(mrb_state *mrb, mrb_value io)
return mrb_bool_value(b);
#else
- mrb_raise(mrb, E_NOTIMPL_ERROR, "IO#close_on_exec= is not supported on the platform");
+ mrb_raise(mrb, E_NOTIMP_ERROR, "IO#close_on_exec= is not supported on the platform");
return mrb_nil_value();
#endif
}