summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>1998-12-23 10:53:06 +0000
committerart <art@openbsd.org>1998-12-23 10:53:06 +0000
commit858c858930ece590533744653c868cc6091bdaa5 (patch)
tree1559a203ad59fae14770089434d45fccdc4b469e
parentwhoops; finally this should work with isapnp *and* non-isapnp (diff)
downloadwireguard-openbsd-858c858930ece590533744653c868cc6091bdaa5.tar.xz
wireguard-openbsd-858c858930ece590533744653c868cc6091bdaa5.zip
Opps. the flag that says that we are sleeping is MNT_MWAIT, not MNT_WAIT
-rw-r--r--sys/kern/vfs_syscalls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index 01c1646c7b3..c5fcc34e82b 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_syscalls.c,v 1.49 1998/12/21 13:08:49 art Exp $ */
+/* $OpenBSD: vfs_syscalls.c,v 1.50 1998/12/23 10:53:06 art Exp $ */
/* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */
/*
@@ -429,7 +429,7 @@ dounmount(mp, flags, p)
simple_lock(&mountlist_slock);
if (mp->mnt_flag & MNT_UNMOUNT) {
simple_unlock(&mountlist_slock);
- mp->mnt_flag |= MNT_WAIT;
+ mp->mnt_flag |= MNT_MWAIT;
sleep(mp, PVFS);
return ENOENT;
}