summaryrefslogtreecommitdiff
path: root/emu/port/sysfile.c
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2008-01-09 22:46:18 +0000
committerCharles.Forsyth <devnull@localhost>2008-01-09 22:46:18 +0000
commit85620a8011570830a70e5c3b9394ea740655da33 (patch)
treec6edcbe7a66c062c7ba888a08f16f6ce2724fbe5 /emu/port/sysfile.c
parent38b761e890b1497089b6d623ae8bee952d1b8cc0 (diff)
20080109
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. */