summaryrefslogtreecommitdiff
path: root/libtrivfs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-11-08 21:52:05 +0000
committerRoland McGrath <roland@gnu.org>1999-11-08 21:52:05 +0000
commit400efaab378a16c55e73a0df5d1a5cec91b143ed (patch)
treecd19f193a5e4fdff98aca4a1ebd1645c540b11ed /libtrivfs
parent6d5bbf06a88e5521085c9ba31e8bdcf03e837a17 (diff)
1999-11-08 Roland McGrath <roland@baalperazim.frob.com>
* fsys-getroot.c (trivfs_S_fsys_getroot): Fix typo.
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 6a8a679b..d91b9fa8 100644
--- a/libtrivfs/fsys-getroot.c
+++ b/libtrivfs/fsys-getroot.c
@@ -60,7 +60,7 @@ trivfs_S_fsys_getroot (struct trivfs_control *cntl,
if ((flags & O_WRITE & trivfs_allow_open) != (flags & O_WRITE))
return EROFS;
- if ((flags & (O_READ_WRITE|O_EXEC) & trivfs_allow_open)
+ if ((flags & (O_READ|O_WRITE|O_EXEC) & trivfs_allow_open)
!= (flags & (O_READ|O_WRITE|O_EXEC)))
return EACCES;