summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/compat/linux/linux_misc.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index a0f3907..6484c59 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -532,15 +532,8 @@ linux_select(struct thread *td, struct linux_select_args *args)
if (ldebug(select))
printf(LMSG("real select returns %d"), error);
#endif
- if (error) {
- /*
- * See fs/select.c in the Linux kernel. Without this,
- * Maelstrom doesn't work.
- */
- if (error == ERESTART)
- error = EINTR;
+ if (error)
goto select_out;
- }
if (args->timeout) {
if (td->td_retval[0]) {
OpenPOWER on IntegriCloud