summaryrefslogtreecommitdiff
path: root/sys/src/cmd/rio/rio.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-05-23 21:43:51 +0000
committercinap_lenrek <cinap_lenrek@centraldogma>2011-05-23 21:43:51 +0000
commitf258c3725d81f358242981f7d3b16f80a05a4604 (patch)
treeffffd85fc53a763c8db3e7524f85030372951bb4 /sys/src/cmd/rio/rio.c
parent1fdee02884be86fb76a2c551ab61997f7a8ddef5 (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.c2
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;