summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-01-17 15:45:39 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-01-17 15:45:39 +0000
commit909107075cdc2e8edd64fada53a637400f735cef (patch)
tree0d2de6ccaae6665b7ada32e5bfe553896a850e3e
parente07530d2df38bb9cb81ec55c1b6fb80c6760f0f8 (diff)
Notes
-rw-r--r--lib/libc/gen/opendir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/opendir.c b/lib/libc/gen/opendir.c
index bb42dfdf49e21..0eefaf546c310 100644
--- a/lib/libc/gen/opendir.c
+++ b/lib/libc/gen/opendir.c
@@ -279,7 +279,7 @@ is_unionstack(int fd)
struct statfs sfb;
int unionstack;
- unionstack = _fcntl(fd, F_ISUNIONSTACK);
+ unionstack = _fcntl(fd, F_ISUNIONSTACK, 0);
if (unionstack != -1)
return (unionstack);