Skip to content

Commit c766964

Browse files
ioctl: translate ERESTARTSYS to ERESTART
1 parent 401965c commit c766964

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sys/compat/linuxkpi/common/src/linux_compat.c

+3
Original file line numberDiff line numberDiff line change
@@ -1056,6 +1056,9 @@ linux_dev_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag,
10561056
current->bsd_ioctl_len = -1;
10571057
}
10581058

1059+
if( error == ERESTARTSYS )
1060+
error = ERESTART;
1061+
10591062
return (error);
10601063
}
10611064

0 commit comments

Comments
 (0)