summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-01-25 13:45:57 -0500
committerTavian Barnes <tavianator@tavianator.com>2023-01-25 13:45:57 -0500
commit5a9bd10815b4216e8c1a15e7730bb82cbc43af47 (patch)
treeb3f6185e7dc61f64752e77486b34c961d6523bb0 /src
parent18492f8142274081adeceb7a5757f86721687799 (diff)
downloadbfs-5a9bd10815b4216e8c1a15e7730bb82cbc43af47.tar.xz
mtab: Flags are separated with | not ,
Diffstat (limited to 'src')
-rw-r--r--src/mtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mtab.c b/src/mtab.c
index 68b4c07..07d7a53 100644
--- a/src/mtab.c
+++ b/src/mtab.c
@@ -228,7 +228,7 @@ static int bfs_mtab_fill_types(struct bfs_mtab *mtab) {
if (parent_fd >= 0) {
xclose(parent_fd);
}
- parent_fd = open(parent_dir, O_SEARCH, O_CLOEXEC, O_DIRECTORY);
+ parent_fd = open(parent_dir, O_SEARCH | O_CLOEXEC | O_DIRECTORY);
parent_ret = -1;
if (parent_fd >= 0) {