summaryrefslogtreecommitdiff
path: root/sys/compat/netbsd/netbsd_getcwd.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-06-18 18:09:44 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-06-18 18:09:44 +0000
commit14a75551ab8adecfa8504f866b3039a514eba589 (patch)
tree97bad1a2e1e4f025760e484fea8d1a14281e6c34 /sys/compat/netbsd/netbsd_getcwd.c
parent3082708bb92c9b5a6ab11c44aaa464f490ba02f3 (diff)
Remove remaining whiteout tentacles; OK deraadt@ miod@ weingart@
Diffstat (limited to 'sys/compat/netbsd/netbsd_getcwd.c')
-rw-r--r--sys/compat/netbsd/netbsd_getcwd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/compat/netbsd/netbsd_getcwd.c b/sys/compat/netbsd/netbsd_getcwd.c
index 330e7d405b5..35e0da2ae60 100644
--- a/sys/compat/netbsd/netbsd_getcwd.c
+++ b/sys/compat/netbsd/netbsd_getcwd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netbsd_getcwd.c,v 1.8 2005/05/26 00:33:45 pedro Exp $ */
+/* $OpenBSD: netbsd_getcwd.c,v 1.9 2005/06/18 18:09:42 millert Exp $ */
/* $NetBSD: vfs_getcwd.c,v 1.3.2.3 1999/07/11 10:24:09 sommerfeld Exp $ */
/*-
@@ -244,8 +244,7 @@ unionread:
* but getting the locking games for that
* right would be heinous.
*/
- if ((dp->d_type != DT_WHT) &&
- (dp->d_fileno == fileno)) {
+ if (dp->d_fileno == fileno) {
char *bp = *bpp;
bp -= dp->d_namlen;