From 400efaab378a16c55e73a0df5d1a5cec91b143ed Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 8 Nov 1999 21:52:05 +0000 Subject: 1999-11-08 Roland McGrath * fsys-getroot.c (trivfs_S_fsys_getroot): Fix typo. --- libtrivfs/fsys-getroot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtrivfs/fsys-getroot.c') 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; -- cgit v1.2.3