rio: dont leak the /dev/consctl and /dev/kbd filedescriptors into windows

This commit is contained in:
cinap_lenrek 2011-05-23 21:43:51 +00:00
parent 1fdee02884
commit f258c3725d

View file

@ -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;