summaryrefslogtreecommitdiff
path: root/libtrivfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-10-25 14:54:04 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-10-25 14:54:04 +0000
commit7e8473ac2ca0959b70383ca00860988edde0274d (patch)
treeed4cb5e4e457fcbbb02d37526c4ecfd621418395 /libtrivfs
parent33406468d829d2075bc998acebec1f13c67b09a5 (diff)
entered into RCS
Diffstat (limited to 'libtrivfs')
-rw-r--r--libtrivfs/fsys-getroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtrivfs/fsys-getroot.c b/libtrivfs/fsys-getroot.c
index c22dd241..4c41fd0d 100644
--- a/libtrivfs/fsys-getroot.c
+++ b/libtrivfs/fsys-getroot.c
@@ -105,7 +105,7 @@ trivfs_S_fsys_getroot (struct trivfs_control *cntl,
cred->po = malloc (sizeof (struct trivfs_peropen));
cred->po->refcnt = 1;
cred->po->cntl = cntl;
- cred->po->openmodes = (flags & ~O_NONBLOCK);
+ cred->po->openmodes = flags;
cred->po->hook = 0;
ports_port_ref (cntl);
if (trivfs_peropen_create_hook)