Remove perror

This commit is contained in:
Uchio KONDO
2016-06-13 09:42:16 +09:00
parent e9c4b10446
commit 7318ae5977
-1
View File
@@ -195,7 +195,6 @@ mrb_dir_chroot(mrb_state *mrb, mrb_value self)
path = mrb_str_to_cstr(mrb, spath);
res = chroot(path);
if (res == -1) {
perror("chroot");
mrb_sys_fail(mrb, path);
}