diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 2001-04-23 10:01:38 +0000 | 
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 2001-04-23 10:01:38 +0000 | 
| commit | b2bcd87e4fdfd70088e70a2afd0aa24d7025b24c (patch) | |
| tree | 3b47a827c12282329d70ccc747d23c71cb485c87 /lib/libc | |
| parent | 99596f82def1e251f33c7fc3bb1c486bf5fa4122 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/gen/opendir.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/lib/libc/gen/opendir.c b/lib/libc/gen/opendir.c index 518d16058da5..d1762f58b892 100644 --- a/lib/libc/gen/opendir.c +++ b/lib/libc/gen/opendir.c @@ -117,7 +117,8 @@ __opendir2(name, flags)  		if (_fstatfs(fd, &sfb) < 0)  			goto fail; -		unionstack = !strcmp(sfb.f_fstypename, "union"); +		unionstack = !strcmp(sfb.f_fstypename, "union") +		    || (sfb.f_flags & MNT_UNION);  	} else {  		unionstack = 0;  	} | 
