diff options
Diffstat (limited to 'emu')
| -rw-r--r-- | emu/port/sysfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emu/port/sysfile.c b/emu/port/sysfile.c index db7a06eb..8159ae2d 100644 --- a/emu/port/sysfile.c +++ b/emu/port/sysfile.c @@ -1077,7 +1077,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. */ |
