diff options
| author | Charles.Forsyth <devnull@localhost> | 2008-01-09 22:46:18 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2008-01-09 22:46:18 +0000 |
| commit | 85620a8011570830a70e5c3b9394ea740655da33 (patch) | |
| tree | c6edcbe7a66c062c7ba888a08f16f6ce2724fbe5 /os/port | |
| parent | 38b761e890b1497089b6d623ae8bee952d1b8cc0 (diff) | |
20080109
Diffstat (limited to 'os/port')
| -rw-r--r-- | os/port/sysfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/port/sysfile.c b/os/port/sysfile.c index 1ff0fe5f..702470b6 100644 --- a/os/port/sysfile.c +++ b/os/port/sysfile.c @@ -1113,7 +1113,7 @@ kiounit(int fd) Chan *c; int n; - c = fdtochan(up->env->fgrp, fd, ORDWR, 0, 1); + c = fdtochan(up->env->fgrp, fd, -1, 0, 1); if(waserror()){ cclose(c); return 0; /* n.b. */ |
