summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfs_subs.c
diff options
context:
space:
mode:
authordm <dm@openbsd.org>1996-01-08 07:36:23 +0000
committerdm <dm@openbsd.org>1996-01-08 07:36:23 +0000
commitb5030eeda6b45f9e3e648981fe812f891a9a931c (patch)
tree529646d307b3bfa88850b9bd4f79490fa0deecc0 /sys/nfs/nfs_subs.c
parentProduce less output on -q as promised by the man page; (diff)
downloadwireguard-openbsd-b5030eeda6b45f9e3e648981fe812f891a9a931c.tar.xz
wireguard-openbsd-b5030eeda6b45f9e3e648981fe812f891a9a931c.zip
graichen@freebsd.org: fixed -type:=direct mounts in amd
Diffstat (limited to 'sys/nfs/nfs_subs.c')
-rw-r--r--sys/nfs/nfs_subs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfs/nfs_subs.c b/sys/nfs/nfs_subs.c
index ad2ec190bb3..1322229fe51 100644
--- a/sys/nfs/nfs_subs.c
+++ b/sys/nfs/nfs_subs.c
@@ -698,7 +698,7 @@ nfs_loadattrcache(vpp, mdp, dposp, vaper)
* information.
*/
np = VTONFS(vp);
- if (vp->v_type == VNON) {
+ if (vp->v_type != vtyp) {
if (vtyp == VCHR && rdev == 0xffffffff)
vp->v_type = vtyp = VFIFO;
else