diff options
author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-05-23 21:43:51 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-05-23 21:43:51 +0000 |
commit | f258c3725d81f358242981f7d3b16f80a05a4604 (patch) | |
tree | ffffd85fc53a763c8db3e7524f85030372951bb4 /sys/src/cmd/rio/rio.c | |
parent | 1fdee02884be86fb76a2c551ab61997f7a8ddef5 (diff) |
rio: dont leak the /dev/consctl and /dev/kbd filedescriptors into windows
Diffstat (limited to 'sys/src/cmd/rio/rio.c')
-rw-r--r-- | sys/src/cmd/rio/rio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/rio/rio.c b/sys/src/cmd/rio/rio.c index ae1edcaf3..668556401 100644 --- a/sys/src/cmd/rio/rio.c +++ b/sys/src/cmd/rio/rio.c @@ -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; |