summaryrefslogtreecommitdiff
path: root/emu/port/sysfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'emu/port/sysfile.c')
-rw-r--r--emu/port/sysfile.c2
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. */