diff options
Diffstat (limited to 'src/luxinit.c')
-rw-r--r-- | src/luxinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luxinit.c b/src/luxinit.c index 55151b4..b5b2b84 100644 --- a/src/luxinit.c +++ b/src/luxinit.c @@ -64,7 +64,7 @@ getdir(void) if ((dp = readdir(dir)) == NULL || (dp = readdir(dir)) == NULL || (dp = readdir(dir)) == NULL - || (fd = openat(dfd, dp->d_name, LUX_GDIR_FLAGS)) == -1) + || (fd = openat(dfd, dp->d_name, O_PATH)) == -1) fd = -1; close(dfd); |