rio: dont leak the /dev/consctl and /dev/kbd filedescriptors into windows
This commit is contained in:
parent
1fdee02884
commit
f258c3725d
1 changed files with 1 additions and 1 deletions
|
@ -1258,7 +1258,7 @@ initkbd(void)
|
|||
char *e;
|
||||
|
||||
c = chancreate(sizeof(char*), 16);
|
||||
proccreate(kbdproc, c, STACK);
|
||||
procrfork(kbdproc, c, STACK, RFFDG);
|
||||
if(e = recvp(c)){
|
||||
chanfree(c);
|
||||
c = nil;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue