diff options
Diffstat (limited to 'console-client/kbd-repeat.c')
-rw-r--r-- | console-client/kbd-repeat.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/console-client/kbd-repeat.c b/console-client/kbd-repeat.c index d3a39d07..8d8c9ee8 100644 --- a/console-client/kbd-repeat.c +++ b/console-client/kbd-repeat.c @@ -94,8 +94,11 @@ repeater_select (struct protid *cred, mach_port_t reply, if (!cred) return EOPNOTSUPP; + *type &= ~SELECT_URG; + if (*type & ~SELECT_READ) - return EINVAL; + /* Error immediately available... */ + return 0; if (*type == 0) return 0; |