summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-05-16 02:15:07 +0000
committertjr <tjr@FreeBSD.org>2003-05-16 02:15:07 +0000
commite2e26fb992d023958aeebc69f5854407358689fd (patch)
tree2e5c57505dd61f29b6732711ca7abe6906ce49e7 /lib
parent384dc4a2a3a4d1bcd5b3d6377775f4d2c81d908c (diff)
downloadFreeBSD-src-e2e26fb992d023958aeebc69f5854407358689fd.zip
FreeBSD-src-e2e26fb992d023958aeebc69f5854407358689fd.tar.gz
Catch up with the renaming of the "union" filesystem to "unionfs".
Fixes a problem where directory entries could show up twice: once on the top layer of the union stack, and once on the bottom layer. Approved by: re (rwatson)
Diffstat (limited to 'lib')
-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 c5e474d..3d5c1c5 100644
--- a/lib/libc/gen/opendir.c
+++ b/lib/libc/gen/opendir.c
@@ -118,7 +118,7 @@ __opendir2(name, flags)
if (_fstatfs(fd, &sfb) < 0)
goto fail;
- unionstack = !strcmp(sfb.f_fstypename, "union")
+ unionstack = !strcmp(sfb.f_fstypename, "unionfs")
|| (sfb.f_flags & MNT_UNION);
} else {
unionstack = 0;
OpenPOWER on IntegriCloud